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

Cannot escape dollar sign in Windows environment

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      EnvInject 1.71
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            nickg Nick Grealy created issue -
            nickg Nick Grealy made changes -
            Field Original Value New Value
            Description 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
            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
            nickg Nick Grealy made changes -
            Link This issue is related to JENKINS-13566 [ JENKINS-13566 ]
            nickg Nick Grealy made changes -
            Link This issue is duplicated by JENKINS-13157 [ JENKINS-13157 ]
            nickg Nick Grealy made changes -
            Description 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
            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
            gbois Gregory Boissinot made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            nickg Nick Grealy made changes -
            Assignee Gregory Boissinot [ gbois ] Nick Grealy [ nickg ]
            nickg Nick Grealy made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            nickg Nick Grealy made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Not A Defect [ 7 ]
            apgray Andrew Gray made changes -
            Resolution Not A Defect [ 7 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 146552 ] JNJira + In-Review [ 186093 ]

              People

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

                Dates

                • Created:
                  Updated: