The following simple contrived pipeline will create more nodes than karaoke currently loads.
Ideally it would be able to cope with this number of nodes:
def lotsParallel(max = 11) {
def build_tasks = [:]
for (ii = 0; ii < max; ii++) {
build_tasks["parallel-${ii}"] = {
println "Number ${ii}"
}
}
parallel build_tasks
}
node {
stage('one') {
lotsParallel()
}
stage('two') {
lotsParallel()
}
stage('thre') {
lotsParallel()
}
stage('for') {
lotsParallel()
}
stage('fave') {
lotsParallel()
}
stage('seix') {
lotsParallel()
}
stage('seben') {
lotsParallel()
}
stage('ate') {
lotsParallel()
}
stage('nine') {
lotsParallel()
}
stage('ten') {
lotsParallel()
}
}