-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Version 1.0 of Active Choices plugin
I'm using a "Active Choices Parameter" on a parameterized build (by selecting "This build is parameterized" in the job settings). If I've defined a global environment variables/properties or password in Jenkins (defined under "Manage Jenkins" -> "Configure System" -> "Global Properties" and "Manage Jenkins" -> "Configure System" -> "Global Passwords") I cannot seem to use these (for example ${MY_ENV_NAME}) as an input parameter to Scriptler scripts. This means that I have to duplicate my global environment variable value when used together with the active choice plugin which is not optimal. The passwords are also visible in clear text when configuring the project.
Code changed in jenkins
User: Bruno P. Kinoshita
Path:
src/main/java/org/biouno/unochoice/model/ScriptlerScript.java
http://jenkins-ci.org/commit/active-choices-plugin/d57ac661e202258343739af270d383288cf85e96
Log:
[FIXED JENKINS-28764] Add environment variables to binding context of Scriptler groovy scripts too (already in Groovy scripts)