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

              People

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

                Dates

                • Created:
                  Updated: