Natalia Naumova created JENKINS-12704: -----------------------------------------
Summary: WORKSPACE variable for concurrent builds are not defined properly. Key: JENKINS-12704 URL: https://issues.jenkins-ci.org/browse/JENKINS-12704 Project: Jenkins Issue Type: Bug Components: concurrent-build, envinject Environment: redhat (master/slave) jenkins ver=1.448 Reporter: Natalia Naumova Assignee: Kohsuke Kawaguchi I have master/slave setup, and my project has the ability to execute builds in parallel, i.e. I have 'Execute concurrent builds if necessary' option turned on. But when I'm trying to inject any environment variables into my job ( 'Inject environment variables to the build process' option ), then the $WORKSPACE variable is NOT defined properly for parallel builds. They should be ${JENKINS_HOME/workspace/${JOB_NAME} ${JENKINS_HOME/workspace/${JOB_NAME}@2 ${JENKINS_HOME/workspace/${JOB_NAME}@3 ... But $WORKSPACE always points to ${JENKINS_HOME/workspace/${JOB_NAME} for all job runs. -- 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