これを見つけました( https://groups.google.com/forum/#!topic/jenkinsci-dev/tWfVfWInaP4 )、
builds = []
ignore(FAILURE) {
parallel (
{builds.add(build("foo1", COPY_PATH: params["bar"]))},
{builds.add(build("foo2", COPY_PATH: params["bar"]))},
{builds.add(build("foo3", COPY_PATH: params["bar"]))},
)
}
for (b in builds) {
out.println "Finished Build : " + hudson.console.HyperlinkNote.encodeTo("/" + b.getUrl(), String.valueOf(b.getDisplayName()))
+ " of Job : " + hudson.console.HyperlinkNote.encodeTo('/' + b.getProject().getUrl(), b.getProject().getFullName())
+ " with status :" + hudson.console.HyperlinkNote.encodeTo('/' + b.getUrl() + "console", b.getResult().toString())
build.setResult(build.getResult().combine(b.getResult()))
}
お役に立てれば
ここからこれを見つけました(http://delivervalue.blogspot.in/2013/06/more-advanced-build-flows-with-jenkins.html)
def results = build("ComponentName")
println results.build.result.toString()