From d6e3c4a8d4d4a0190f8ce9c32cead8862975042d Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 6 Mar 2024 09:29:22 +0100 Subject: [PATCH] e2e (re)activate main tests --- alfa-client/apps/alfa-e2e/Jenkinsfile | 58 +++++++++++++-------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/alfa-client/apps/alfa-e2e/Jenkinsfile b/alfa-client/apps/alfa-e2e/Jenkinsfile index c66af4321d..3c6516e22b 100644 --- a/alfa-client/apps/alfa-e2e/Jenkinsfile +++ b/alfa-client/apps/alfa-e2e/Jenkinsfile @@ -240,35 +240,35 @@ pipeline { } } -// stage('E2E-Main') { -// when { -// expression { !SKIP_RUN } -// } -// steps { -// catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { -// script { -// def bezeichner = env.MAIN_BEZEICHNER -// def dbPort = 27019 - -// forwardServices(generateNamespace(bezeichner), dbPort) - -// runTests(bezeichner, 'main-tests', 'user-main', dbPort, env.STAGE_NAME) -// } -// } -// } -// post { -// failure { -// script { -// FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} " -// } -// } -// always { -// script { -// publishE2ETestResult("main-tests", "Alfa E2E-Tests main") -// } -// } -// } -// } + stage('E2E-Main') { + when { + expression { !SKIP_RUN } + } + steps { + catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { + script { + def bezeichner = env.MAIN_BEZEICHNER + def dbPort = 27019 + + forwardServices(generateNamespace(bezeichner), dbPort) + + runTests(bezeichner, 'main-tests', 'user-main', dbPort, env.STAGE_NAME) + } + } + } + post { + failure { + script { + FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} " + } + } + always { + script { + publishE2ETestResult("main-tests", "Alfa E2E-Tests main") + } + } + } + } // } // } -- GitLab