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

Execute shell build step - spurious quotes in script

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Jenkins 1.448, 1.449

      1. Create freestyle job
      2. Add "Execute shell" build step
      3. Put single line to the script field:
        [ blah ]
        
      4. Save the job
      5. Open the job configuration again. The script contains:
        "[ blah ]"
        

      Workarond - put something to the first line. the issue appears only when "[" is the first symbol of the script.

          [JENKINS-12576] Execute shell build step - spurious quotes in script

          evernat added a comment -

          reproduced with Jenkins 1.499

          evernat added a comment - reproduced with Jenkins 1.499

          evernat added a comment -

          I do not reproduce the issue using Jenkins v1.509.4.
          Do you reproduce it in a recent Jenkins version?

          evernat added a comment - I do not reproduce the issue using Jenkins v1.509.4. Do you reproduce it in a recent Jenkins version?

          Daniel Beck added a comment -

          Duplicates JENKINS-14827, fixed in 1.512 or so.

          Daniel Beck added a comment - Duplicates JENKINS-14827 , fixed in 1.512 or so.

            Unassigned Unassigned
            kirill_evstigneev Kirill Evstigneev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: