[ https://issues.jenkins-ci.org/browse/JENKINS-12841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159375#comment-159375 ]
gbois commented on JENKINS-12841: --------------------------------- I can't reproduce. Could you check again the problem persists? And could you attach your job conifguration file (config.xml in $JENKINS_HOME/jobs/<your_job>)? > EnvInject Plugin 1.26 does not substitute ${WORKSPACE} correctly > ---------------------------------------------------------------- > > Key: JENKINS-12841 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12841 > Project: Jenkins > Issue Type: Bug > Components: envinject > Reporter: mwebber > Assignee: gbois > Priority: Critical > > This problem appeared when I upgraded the EnvInject Plugin from 1.25 to 1.26, > so the problem was probably introduced with the fix for JENKINS-12704. > I have a job with "Inject environment variables to the build process" > selected, and the following line in "Properties Content": > materialize_workspace_path=${WORKSPACE}/materialize_workspace > In 1.25, this environment variable was correctly given the value > {{/scratch/jenkins_workspace/GDA_master.tests.RH5_64/materialize_workspace}} > In 1.26, this environment variable was WRONGLY given the value > {{/scratch/jenkins_slave//scratch/jenkins_workspace/GDA_master.tests.RH5_64/materialize_workspace}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira