-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Scriptler v2.9 Jenkins v1.596.2
I have a script executed through the scriptler plugin and I would like to use in the script job environment variables such as BUILD_URL. At the beginnig of the script I read the environment variables with
def env = System.getenv() //also get the environment //then print to confirm env.each{ println "${it.key} :${it.value}" }
Independent of whether I check the 'Propagate Job params to script' checkbox the parameters are the same and only related to the OS. I do not see any of the JOB related environement variables. See example screen shot attached