Jacek Tomaka
unread,Jul 17, 2015, 10:14:42 PM7/17/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
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