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

Backslash is escaped from injected $WORKSPACE property on slave node

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      Windows7
    • Similar Issues:

      Description

      Steps to reproduce:
      1) Create a job named "SomeJob" strict job to build on some slave node
      2) Create "Inject environment variables" build step
      3) Put "SOME_PROPERTY=$WORKSPACE" into "Properties content" input.

      Actual: On "Injected Environment Variables" page i can see
      WORKSPACE=D:\JenkinsShare\workspace\SomeJob
      but
      SOME_PROPERTY=D:JenkinsShareworkspaceSomeJob

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              advantiss Peter S
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: