diff --git a/goofy-client/apps/goofy-e2e/Jenkinsfile b/goofy-client/apps/goofy-e2e/Jenkinsfile index b6a53c6555928a61fb56157c7b6beac457cd7434..52c8693816a6a7e859bb51731a8350348b3418e1 100644 --- a/goofy-client/apps/goofy-e2e/Jenkinsfile +++ b/goofy-client/apps/goofy-e2e/Jenkinsfile @@ -171,20 +171,20 @@ pipeline { checkoutGitopsE2eBranch() - deleteKopStack([env.EA_BEZEICHNER]);//, env.MAIN_BEZEICHNER]) + deleteKopStack([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER]) generateEaNamespaceYaml() - //generateMainNamespaceYaml() + generateMainNamespaceYaml() pushGitopsRepo() - waitForKopStackRollout([env.EA_BEZEICHNER]);//, env.MAIN_BEZEICHNER]) + waitForKopStackRollout([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER]) } } post { failure { script { - deleteKopStack([env.EA_BEZEICHNER]);//, env.MAIN_BEZEICHNER]) + deleteKopStack([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER]) } } } @@ -233,32 +233,32 @@ pipeline { } } -// stage('E2E-Main') { -// steps { -// catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { -// script { -// def bezeichner = env.MAIN_BEZEICHNER -// def dbPort = 27019 -// -// forwardServices(generateNamespace(bezeichner), dbPort) -// -// runTests(bezeichner, 'main-tests', dbPort, env.STAGE_NAME) -// } -// } -// } -// post { -// failure { -// script { -// FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} " -// } -// } -// always { -// script { -// publishE2ETestResult("main-tests", "Goofy E2E-Tests main") -// } -// } -// } -// } + stage('E2E-Main') { + steps { + catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { + script { + def bezeichner = env.MAIN_BEZEICHNER + def dbPort = 27019 + + forwardServices(generateNamespace(bezeichner), dbPort) + + runTests(bezeichner, 'main-tests', dbPort, env.STAGE_NAME) + } + } + } + post { + failure { + script { + FAILED_PARALLEL_STAGE += "${env.STAGE_NAME} " + } + } + always { + script { + publishE2ETestResult("main-tests", "Goofy E2E-Tests main") + } + } + } + } } }