Re: Job DSL - Multijob iteration?

2015-01-28 Thread Jordan Spiker
I figured this out. jobs = [] f.eachLine { line -> jobs += job(type: Matrix) { ... } } job(type: Multijob) { steps { phase('build') { jobs.each { j -> job(j.name) } } } } On Tuesday, January 27, 2015 at 6:43:24 PM

Job DSL - Multijob iteration?

2015-01-27 Thread Jordan Spiker
Hi all, I have a Multijob that creates jobs based on a text file. job(type: Multijob) { steps { phase('build') { f.eachLine { job(type: Matrix) { ... } } } } } This does generate the sub-jobs f