Skip to content
Snippets Groups Projects
Commit 6b31dd0e authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1784 jenkinsfile

parent 4992d982
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ pipeline { ...@@ -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" 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+/ RELEASE_REGEX = /\d+.\d+.\d+/
SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/ SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
E2E_FAILED = [] E2E_FAILED = ''
} }
options { options {
...@@ -163,7 +163,7 @@ pipeline { ...@@ -163,7 +163,7 @@ pipeline {
) )
if(runTests(stageName, 'einheitlicher-ansprechpartner') != '0') { if(runTests(stageName, 'einheitlicher-ansprechpartner') != '0') {
E2E_FAILED += [stageName] E2E_FAILED += "${stageName}, "
} }
shutdownEnvironment(namespace) shutdownEnvironment(namespace)
...@@ -208,7 +208,7 @@ pipeline { ...@@ -208,7 +208,7 @@ pipeline {
) )
if(runTests(stageName, 'main-tests') != '0') { if(runTests(stageName, 'main-tests') != '0') {
E2E_FAILED += [stageName] E2E_FAILED += "${stageName}, "
} }
shutdownEnvironment(namespace) shutdownEnvironment(namespace)
...@@ -240,7 +240,7 @@ pipeline { ...@@ -240,7 +240,7 @@ pipeline {
always { always {
script { script {
if (E2E_FAILED) { if (E2E_FAILED) {
FAILED_STAGE = "E2E (${E2E_FAILED.join(', ')})" FAILED_STAGE = "E2E (${E2E_FAILED.substring(0, E2E_FAILED.length() - 2)})"
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment