[
https://issues.jenkins-ci.org/browse/JENKINS-13096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
gbois resolved JENKINS-13096.
-----------------------------
Resolution: Won't Fix
I'm afraid EnvInject will not be able to resolve your issue.
EnvInject is able to inject a properties file from the JENKINS_HOME.
It is also able to inject a properties file from the workspace (but after the
SCM checkout).
It is the scope of the EnvInject plugin.
Fee free to provide a new contribution (by modifying the EnvInject plugin, by
extending envinject/sharedObjects plugins or by making a new plugin).
> 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