pipeline {
agent {label 'ellis'}
stages {
stage('Hello') {
parallel {
stage("Build Echo") {
steps {
build job: 'Echo'
}
}
stage("Build params") {
steps {
build job: 'params', parameters: [
string(name: 'testparams', value:'test_param')]
}
}
}
}
}
}
https://github.com/jenkinsci/pipeline-examples/tree/master/pipeline-examples