Skip to content

Commit

Permalink
use tasks() helper
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Mar 2, 2021
1 parent 564d25a commit d205869
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 4 additions & 7 deletions .ci/Jenkinsfile_baseline_capture
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@ kibanaPipeline(timeoutMinutes: 210) {

kibanaPipeline.withCiTaskQueue([parallel: 2]) {
catchErrors {
task {
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh')()
}

task {
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh')()
}
tasks([
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh'),
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh'),
])
}
}
}
Expand Down
11 changes: 4 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@ kibanaPipeline(timeoutMinutes: 210) {

kibanaPipeline.withCiTaskQueue([parallel: 2]) {
catchErrors {
task {
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh')()
}

task {
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh')()
}
tasks([
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh'),
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh'),
])
}
}
}
Expand Down

0 comments on commit d205869

Please sign in to comment.