I currently I got an array with defined build stages that runn in parallel
def build_stages =[:]
build_stages["one"]={echo "one"}
build_stages["two"]={echo "two"}
build_stages["three"]={echo "three"}
parallel build_stages
Obviously those stages running in parallel
Is there an syntax option that can allow to run those stage as serial run?
build_stages["one"] --> build_stages["two"] --> build_stages["three"]
by @Patrice M build_stages.each { it -> it.call() }