[
https://issues.jenkins-ci.org/browse/JENKINS-13096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160326#comment-160326
]
gbois commented on JENKINS-13096:
---------------------------------
Did you try to inject variables after a SCM checkout?
Check 'Inject environment variables to the build process' in the 'Build
environment' section.
In the properties file path field, you can specify a relative file path to your
workspace (and at this step, the workspace is provisioned by your SCM checkout).
> should be able to use Jenkins Environment Variables (JENKINS_HOME, WORKSPACE)
> in the properties file path
> ---------------------------------------------------------------------------------------------------------
>
> Key: JENKINS-13096
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13096
> Project: Jenkins
> Issue Type: Improvement
> Components: envinject
> Affects Versions: current
> Reporter: Maddy Goss
> Assignee: gbois
> Priority: Minor
> Labels: plugin
>
> I keep my generic project configuration in a properties file which is in a
> project that is checked into SCM. I would like to be able to update that file
> in a parent job, and then consume it (via
> $WORKSPACE/projectname/global.properties). Currently, you have to use the
> full path to the properties file, which makes my configuration brittle.
--
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