I'm experimenting with the moving some hacky build proccesses into the great
new workflow plugin, but not sure how to best handle dependencies between
parallel steps.
The workflow is meant to test a release candidate of an R-language interpreter
against a library of a few thousand packages, some of which depend on each
other.
ideally my flow would look like this:
def packages = fetchPackageIds()
builds = [:]
for p in packages {
builds[p] = {
waitFor dependencyPackageIds(p)
node { buildPackage p }
}
}
parallel builds
But it looks like I need to implement a waitFor primitive that is similar to
stage but local to the flow rather than global?
Or is there another approach I'm missing?
Thanks,
Alex
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/ba1047d2-c7bd-4b9b-9f78-463573e99877%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.