You should be able to pass multiple build parameters into an AC Reactive 
parameter. Just include a  comma separated list of the parameter names in 
the referenced parameters text box.

On Tuesday, January 5, 2016 at 1:02:09 PM UTC-5, Matthew Hamilton wrote:
>
> I have recently upgraded our Jenkins install to 1.643 and am attempting to 
> make use of the Active Choices plugin to consolidate a few of our jobs into 
> a few multipurpose ones.
>
> One of the jobs that I am looking to make some modifications to is our 
> deployment job of build artifacts into JBoss.
>
> We have several (approximately 24) web application build tasks and I have 
> a few separate deployment jobs and I was looking to make use of the Active 
> Choices plugin to utilize Groovy/Scriptler to set up the deployment task 
> such that the user doesn't have to input a whole lot of details.
>
> I have already created a Groovy script that will query all the build jobs 
> with a specific naming convention and populate a drop-down menu list of 
> those jobs for which there exists a valid web artifact for deployment.
>
> What I would like to do with Active Choices is to use the Active Choice 
> Reactive Reference Parameter to execute a second Groovy/Scriptler script 
> based on the build job that was selected.  I already have a script that 
> will populate a list of only those builds which meet a certain criteria. 
>  For example if deployment to test has been selected only list those builds 
> that have been deployed to dev and no other environment, and only the first 
> 5 jobs that match.
>
> What I am not sure if it is possible to do is pass the build job name that 
> was selected, as well as the target environment to the Groovy script for 
> the Reactive Reference Parameter.
>
>
> Is this something that just isn't currently possible with Active Choices?
>
> Thanks
>
>
> Matthew
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c2d338fc-b5ff-4df7-8382-224b8e78293a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to