-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Environment Injector Plugin v1.55
Currently the help indication for Script Path/Content states:
... adding or overriding environment variables in the script doesn't have any impacts in the build job.
It would be extremely useful to be able to source a script (i.e., bash) which exports environment variables such that they persist for use in the build job. Currently to work around this, I need to source the script at the top of every Execute Shell build step.
[JENKINS-14097] Allow Script Path/Content to add/override environment variables for the build job
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Could you give more information about sourcing a script?
Which command do you execute?
Could you give the changes between different kind of OSS and shell types?
Thanks