-
Bug
-
Resolution: Fixed
-
Major
-
None
This is with EnvInject plugin 1.72, Jenkins 1.488.
In a job configuration, "Build Environment" --> "Inject environment variables to the build process", the help text for "Properties File Path" says "the process is executed before a SCM checkout".
However, when I run it, it's quite clear that this is processed AFTER the SCM checkout - which is good, since it means I can have my properties file under source control.
The console shows this:
[EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties file path 'builder/hudson/env-vars-GDA-master-set1.properties'
The help text needs changing so that it describes what actually happens.
The same wrong help text appears when you have a "Build Step" of "Inject environment variables".
Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/resources/org/jenkinsci/plugins/envinject/EnvInjectBuildWrapper/help-propertiesFilePath.html
http://jenkins-ci.org/commit/envinject-plugin/271fe379e2732cbd2781546cb72df329350c5656
Log:
Fix
JENKINS-15664