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

Backslash is escaped from injected $WORKSPACE property on slave node

    XMLWordPrintable

    Details

    • 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

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesLoader.java
          http://jenkins-ci.org/commit/envinject-plugin/92a497a905f1e70d0d664ac54e0fc9f7cb1a82da
          Log:
          Fix JENKINS-14761 and JENKINS-14768

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesLoader.java http://jenkins-ci.org/commit/envinject-plugin/92a497a905f1e70d0d664ac54e0fc9f7cb1a82da Log: Fix JENKINS-14761 and JENKINS-14768

            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: