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

Cannot escape dollar sign in Windows environment

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • envinject-plugin
    • None
    • EnvInject 1.71

      Fix JENKINS-13566 introduced the following bug.

      I can no longer escape the dollar sign value on a Windows environment.

      e.g.
      foobar1=foo\$bar
      foobar2=foo$bar

      Respectively becomes:
      foo\$bar
      foo

      The value "foo$bar" cannot be achieved.

      My opinion is that the "escaping" behaviour should be the same regardless of operating system. I propose that the JENKINS-13566 changes should be reverted, and that Vincent Latombe should double escape their path.
      i.e.
      C:\DOCUME~1\\$NCESE~1\LOCALS~1\Temp

          [JENKINS-15751] Cannot escape dollar sign in Windows environment

          Nick Grealy created issue -
          Nick Grealy made changes -
          Description Original: Fix JENKINS-13566 introduced the following bug.

          I can no longer escape the dollar sign value on a Windows environment.

          e.g.
          foobar1=foo\$bar
          foobar2=foo$bar

          Respectively becomes:
          foo\$bar
          foo

          The value "foo$bar" cannot be achieved.

          My opinion is that the "escaping" behaviour should be the same regardless of operating system. I propose that the JENKINS-13566 changes should be reverted, and that Vincent Latombe should double escape his path.
          i.e.
          C:\DOCUME~1*\*\$NCESE~1\LOCALS~1\Temp
          New: Fix JENKINS-13566 introduced the following bug.

          I can no longer escape the dollar sign value on a Windows environment.

          e.g.
          foobar1=foo\$bar
          foobar2=foo$bar

          Respectively becomes:
          foo\$bar
          foo

          The value "foo$bar" cannot be achieved.

          My opinion is that the "escaping" behaviour should be the same regardless of operating system. I propose that the JENKINS-13566 changes should be reverted, and that Vincent Latombe should double escape his path.
          i.e.
          C:\DOCUME~1\\$NCESE~1\LOCALS~1\Temp
          Nick Grealy made changes -
          Link New: This issue is related to JENKINS-13566 [ JENKINS-13566 ]
          Nick Grealy made changes -
          Link New: This issue is duplicated by JENKINS-13157 [ JENKINS-13157 ]
          Nick Grealy made changes -
          Description Original: Fix JENKINS-13566 introduced the following bug.

          I can no longer escape the dollar sign value on a Windows environment.

          e.g.
          foobar1=foo\$bar
          foobar2=foo$bar

          Respectively becomes:
          foo\$bar
          foo

          The value "foo$bar" cannot be achieved.

          My opinion is that the "escaping" behaviour should be the same regardless of operating system. I propose that the JENKINS-13566 changes should be reverted, and that Vincent Latombe should double escape his path.
          i.e.
          C:\DOCUME~1\\$NCESE~1\LOCALS~1\Temp
          New: Fix JENKINS-13566 introduced the following bug.

          I can no longer escape the dollar sign value on a Windows environment.

          e.g.
          foobar1=foo\$bar
          foobar2=foo$bar

          Respectively becomes:
          foo\$bar
          foo

          The value "foo$bar" cannot be achieved.

          My opinion is that the "escaping" behaviour should be the same regardless of operating system. I propose that the JENKINS-13566 changes should be reverted, and that Vincent Latombe should double escape their path.
          i.e.
          C:\DOCUME~1\\$NCESE~1\LOCALS~1\Temp
          Gregory Boissinot made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Nick Grealy made changes -
          Assignee Original: Gregory Boissinot [ gbois ] New: Nick Grealy [ nickg ]
          Nick Grealy made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Nick Grealy made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Andrew Gray made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146552 ] New: JNJira + In-Review [ 186093 ]

            nickg Nick Grealy
            nickg Nick Grealy
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: