Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41548

Unable to use double quotes and round trip with them

    • 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)

          [JENKINS-41548] Unable to use double quotes and round trip with them

          Michael Neale created issue -
          Michael Neale made changes -
          Epic Link New: JENKINS-36291 [ 172300 ]
          Michael Neale made changes -
          Component/s New: blueocean-pipeline-editor-plugin [ 21828 ]
          James Dumay made changes -
          Sprint Original: iapetus [ 216 ]
          James Dumay made changes -
          Sprint New: panthalassa [ 221 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Sprint Original: panthalassa [ 221 ] New: release candidate [ 171 ]
          James Dumay made changes -
          Rank New: Ranked lower
          James Dumay made changes -
          Sprint Original: release candidate [ 171 ] New: panthalassa [ 221 ]
          James Dumay made changes -
          Rank New: Ranked lower
          James Dumay made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

            kzantow Keith Zantow
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: