Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// assume this is some list of things you're going to do something with
def someList
def parallelBranches = someList.collectEntries { n ->
[(n): {
throttle('category') {
node('some-node') {
// do some things with n
parallel parallelBranches
Copy link

Thanks, that is exactly what i need at the moment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment