From 6b31dd0ee54d161a9504b85fab162b635bdb43f6 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Fri, 14 Jan 2022 18:12:25 +0100 Subject: [PATCH] OZG-1784 jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 376cdf69be..066e1deb2d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ pipeline { BLUE_OCEAN_URL = "https://jenkins.ozg-sh.de/blue/organizations/jenkins/goofy/detail/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/pipeline" RELEASE_REGEX = /\d+.\d+.\d+/ SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/ - E2E_FAILED = [] + E2E_FAILED = '' } options { @@ -163,7 +163,7 @@ pipeline { ) if(runTests(stageName, 'einheitlicher-ansprechpartner') != '0') { - E2E_FAILED += [stageName] + E2E_FAILED += "${stageName}, " } shutdownEnvironment(namespace) @@ -208,7 +208,7 @@ pipeline { ) if(runTests(stageName, 'main-tests') != '0') { - E2E_FAILED += [stageName] + E2E_FAILED += "${stageName}, " } shutdownEnvironment(namespace) @@ -240,7 +240,7 @@ pipeline { always { script { if (E2E_FAILED) { - FAILED_STAGE = "E2E (${E2E_FAILED.join(', ')})" + FAILED_STAGE = "E2E (${E2E_FAILED.substring(0, E2E_FAILED.length() - 2)})" } } } -- GitLab