-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins ver. 1.642
Environment Injector Plugin 1.90
Setup with a build slave
If a file exists in slave home directory, e.g. /home/jenkinsslave/env.properties, then injecting environment variables will fail, if the Properties File has the same name.
Top level file exists:
...
+ cat env.properties
VERSION=123
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'env.properties'
[EnvInject] - Variables injected successfully.
...
/home/jenkinsslave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3/bin/mvn versions:set -DnewVersion=$VERSION
Top level file does not exist:
...
+ cat env.properties
VERSION=123
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'env.properties'
[EnvInject] - Variables injected successfully.
...
/home/jenkinsslave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3/bin/mvn versions:set -DnewVersion=123
- duplicates
-
JENKINS-23666 Change resolution order for the property files
-
- Open
-
[JENKINS-36925] EnvInject - Conflicts between file names in home dir and the relative path
Component/s | New: envinject-plugin [ 15893 ] | |
Component/s | Original: core [ 21134 ] | |
Key |
Original:
|
New:
|
Workflow | Original: classic default workflow [ 173663 ] | New: JNJira [ 173680 ] |
Project | Original: Infrastructure [ 10301 ] | New: Jenkins [ 10172 ] |
Assignee | Original: R. Tyler Croy [ rtyler ] | New: Oleg Nenashev [ oleg_nenashev ] |
Workflow | Original: JNJira [ 173680 ] | New: JNJira + In-Review [ 185270 ] |
Summary | Original: EnvInject | New: EnvInject - Conflicts between file names in home dir and the relative path |
Link | New: This issue duplicates JENKINS-23666 [ JENKINS-23666 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |