Hi, 
I have a few jenkins job that use promoted builds plugin. Each of jobs has a 
bunch of parameters. 

I promote builds on demand using "only when manually promoted". This is fine 
for single builds but usually i want to promote a set of builds (one per job) 
with matching parameter values. 

Now i would like to create a build flow job that would for jobs A,B,C iterate 
builds of A,B,C to see if the value is as required and if so, kick off the 
promotion process. 

Can this be done using build flow plugin? I mean, how do i iterate builds of a 
job by name?
I am thinking about something like: 

builds = job("A").getBuilds()

then iterating over the builds, getting parameters of each of them and if 
parameters match, save it's build number to execute promotion later.

How do i solve this?
Regards.
Jacek Tomaka

-- 
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/izebrtfajmzibxeqaync%40itcm.
For more options, visit https://groups.google.com/d/optout.

Reply via email to