Created
August 1, 2017 17:34
-
-
Save abayer/5d02d5a41efcf234db33dd05e6709901 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, that is exactly what i need at the moment!