-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Ubuntu 14.04 x86_64
Jenkins 2.12
OPEN JDK 1.7
Active Choices Plug-in 1.4
In "Build with parameters" page,
the output of 'Active Choices Reactive Reference Parameter' type
would display correctly based upon other active choice changes.
However, during the build,
the variable to the 'Active Choices Reactive Reference Parameter' type is always empty.
Jenkins "parameter" page also shows that variable as empty
The Groovy script must return valid HTML in the form:
where *reactRefParam *is the value calcuclated by the script that you want to use as parameter. In addition, under 'Advanced' options check the 'Omit Value Field'. Make sure you read the documentation on the Active-Choices https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin wiki page documenting these techniques under 'Passing Reactive Reference Values to the build' (Scenatio 1, 2)