Jenkins Pipeline Syntax: Difference between revisions
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
stage("tests") { | stage("tests") { | ||
parallel | parallel( | ||
"unit tests": { | |||
// run unit tests | // run unit tests | ||
}, | |||
"coverage tests": { | |||
// run coverage tests | // run coverage tests | ||
} | |||
) | |||
} | } | ||
Revision as of 06:03, 9 December 2017
External
Internal
Overview
node {
echo 'Pipeline logic starts'
}
Parallel Stages
stage("tests") {
parallel(
"unit tests": {
// run unit tests
},
"coverage tests": {
// run coverage tests
}
)
}