Justin Ryan commented on New Feature JENKINS-18492

The queue() method can execute any jobs, including those created by the DSL. You should be able to do this:

def seedJobs = []
def branches = ...
for(branch in branches) {
  seedJobs <<  job {
    name 'My Seed'
    scm { github(...) }
    steps {
      dsl('job.dsl.groovy')
    }
  }
}
queue(seedJobs)

That looks a lot like the wording of the issue, e.g. I created branch jobs that in turn execute. Given your last message, I might be missing something here.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to