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!