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

OZG-3961 enable E2E Main Tests

parent 9090e9a1
No related branches found
No related tags found
No related merge requests found
......@@ -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")
}
}
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment