Skip to content

Instantly share code, notes, and snippets.

@yoshikaw
Created September 13, 2016 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshikaw/2209d6c96e60bd2b334ed4d61c3d3bd6 to your computer and use it in GitHub Desktop.
Save yoshikaw/2209d6c96e60bd2b334ed4d61c3d3bd6 to your computer and use it in GitHub Desktop.
def map = [:]
map["fuga"] = {
stage('fuga') {
node {
sh "echo 'fuga'"
}
}
}
map["piyo"] = {
stage('piyo') {
node {
sh "echo 'piyo'"
}
}
}
map.failFast = true
stage 'hoge'
timestamps {
parallel map
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment