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

e2e update jenkinsfile rollout fix

parent 209f6a19
No related branches found
No related tags found
No related merge requests found
...@@ -171,25 +171,26 @@ pipeline { ...@@ -171,25 +171,26 @@ pipeline {
checkoutGitopsE2eBranch() checkoutGitopsE2eBranch()
deleteOzgCloudStack([env.MAIN_BEZEICHNER]) deleteKopStack([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER])
generateMainNamespaceYaml() generateMainNamespaceYaml()
generateEaNamespaceYaml()
pushGitopsRepo() pushGitopsRepo()
waitForOzgCloudStackRollout([env.MAIN_BEZEICHNER]) waitForKopStackRollout([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER])
} }
} }
post { post {
failure { failure {
script { script {
deleteOzgCloudStack([env.MAIN_BEZEICHNER]) deleteOzgCloudStack([env.EA_BEZEICHNER, env.MAIN_BEZEICHNER])
} }
} }
} }
} }
stage('Rollout E2E EA') { stage('Init PortForwards') {
when { when {
expression { !SKIP_RUN } expression { !SKIP_RUN }
} }
...@@ -197,22 +198,7 @@ pipeline { ...@@ -197,22 +198,7 @@ pipeline {
script { script {
FAILED_STAGE = env.STAGE_NAME FAILED_STAGE = env.STAGE_NAME
checkoutGitopsE2eBranch() forwardElasticSearch()
deleteOzgCloudStack([env.EA_BEZEICHNER])
generateEaNamespaceYaml()
pushGitopsRepo()
waitForOzgCloudStackRollout([env.EA_BEZEICHNER])
}
}
post {
failure {
script {
deleteOzgCloudStack([env.EA_BEZEICHNER])
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment