From d205869202788c57b5297391917b3925aee4bf69 Mon Sep 17 00:00:00 2001 From: spalger Date: Tue, 2 Mar 2021 13:03:17 -0700 Subject: [PATCH] use `tasks()` helper --- .ci/Jenkinsfile_baseline_capture | 11 ++++------- Jenkinsfile | 11 ++++------- 2 files changed, 8 insertions(+), 14 deletions(-) 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'), + ]) } } }