automated terminal push

This commit is contained in:
lenape
2025-08-05 16:41:44 +00:00
parent 29fc73f771
commit 8461e3032c

View File

@@ -227,18 +227,8 @@ with app.test_client() as client:
stage('🐳 Build & Push Docker Image') { stage('🐳 Build & Push Docker Image') {
when { when {
anyOf {
equals expected: 'deploy', actual: params.ACTION equals expected: 'deploy', actual: params.ACTION
allOf {
equals expected: 'plan', actual: params.ACTION
anyOf {
equals expected: 'blue_green', actual: params.DEPLOYMENT_STRATEGY
equals expected: 'rolling', actual: params.DEPLOYMENT_STRATEGY
} }
}
}
}
steps { steps {
withCredentials([ withCredentials([
string(credentialsId: env.AWS_CREDENTIALS, variable: 'AWS_ACCESS_KEY_ID'), string(credentialsId: env.AWS_CREDENTIALS, variable: 'AWS_ACCESS_KEY_ID'),