Using active choice reactive parameter in jenkinsfile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using active choice reactive parameter in jenkinsfile

Faad Sayaou
Hi, I am using active choice reactive parameter and I would like to access the selected value from my jenkinsfile. Is that possible with this plugin ?

I used active choices parameter as follows

Name: select_ environment
Groovy script : return [“dev”,”QA”,”prod”]

Based on the selected environment, a list of servers
Are displayed and a user can select the server using the
Reactive choice parameter.
The I tried accessing the reactive choice parameter when a user ticks the radio button by doing $select_server
But this does not work. Any idea please how I can
Access that from my jenkinsfile ?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/281ef4f6-440b-41e4-b893-18692ee49a81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.