-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.424.6 on Windows Server 2008 R2
1.465 on Windows 7
String parameters that start and end with a matched pair of square or angle brackets are wrapped in double quotation marks. This impacts use of JSON as actual argument values.
This behavior occurs outside of job execution: Default parameter values are changed while saving, with the double quotation marks present on subsequent access to the Configure page as well as the Build Now parameters page.
Example
This results for example in a value being changed from
[foo]
to
"[foo]"
Affected argument values have the following formats:
[] {} [foo] {foo} [foo bar] {foo {} bar}
etc.
The following are not affected by this behavior:
() <> [} {] {} [] [foo} {foo] foo[bar] foo[bar [foo]bar
Workaround
Add a leading space character
- duplicates
-
JENKINS-14827 Cannot use /usr/bin/[ as a shell script step: wrapped in "..." after save
- Resolved