From b9388ead5b8bfa2c88bb44cf389cc9a84b419c9e Mon Sep 17 00:00:00 2001 From: Brian Seeders Date: Mon, 21 Oct 2019 14:38:14 -0400 Subject: [PATCH] Fix param parsing and add missed change --- .ci/Jenkinsfile_flaky | 2 +- vars/kibanaPipeline.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/Jenkinsfile_flaky b/.ci/Jenkinsfile_flaky index e484c8c24d790..3f77243da2c1b 100644 --- a/.ci/Jenkinsfile_flaky +++ b/.ci/Jenkinsfile_flaky @@ -7,7 +7,7 @@ kibanaLibrary.load() def JOB_PARTS = params.CI_GROUP.split(':') def IS_XPACK = JOB_PARTS[0] == 'xpack' def JOB = JOB_PARTS[1] -def CI_GROUP = JOB_PARTS[2] ?: '' +def CI_GROUP = JOB_PARTS.size() > 2 ? JOB_PARTS[2] : '' def worker = getWorkerFromParams(IS_XPACK, JOB, CI_GROUP) diff --git a/vars/kibanaPipeline.groovy b/vars/kibanaPipeline.groovy index 9f658c4d58953..11b10f0dbc170 100644 --- a/vars/kibanaPipeline.groovy +++ b/vars/kibanaPipeline.groovy @@ -243,7 +243,7 @@ def buildXpack() { def runErrorReporter() { bash """ source src/dev/ci_setup/setup_env.sh - node src/dev/failed_tests/cli + node scripts/report_failed_tests """ }