-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3
If I create a shell step with double quotes in the text box:
"echo 42"
I get when I export:
sh('"echo 42"')
ie extra quotes - is this intended?
When I import shell step with double quotes deliberately in the script, it isn't reflected in the text area, and when I export it again - they are gone (ie just single quotes)
- is duplicated by
-
JENKINS-45697 Pipeline editor mangles shell commands with interpolation and multiple quote levels
-
- Closed
-
- links to
This is working as expected. Whatever text you put in the shell script textarea should be sent to the node, it's single quoting as it's always currently isLiteral: true