diff --git a/.ci/Jenkinsfile_baseline_capture b/.ci/Jenkinsfile_baseline_capture index a87c4b96e3306..672f5127a9796 100644 --- a/.ci/Jenkinsfile_baseline_capture +++ b/.ci/Jenkinsfile_baseline_capture @@ -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'), + ]) } } } diff --git a/Jenkinsfile b/Jenkinsfile index a87c4b96e3306..672f5127a9796 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'), + ]) } } }