automated terminal push
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -183,8 +183,8 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
echo "🔍 SECURITY: Checking if infrastructure is ready for deployment..."
|
echo "🔍 SECURITY: Checking if infrastructure is ready for deployment..."
|
||||||
|
|
||||||
if (params.FORCE_INFRASTRUCTURE_DEPLOY || env.DEPLOYMENT_TYPE == "INFRASTRUCTURE") {
|
if (params.FORCE_INFRASTRUCTURE_DEPLOY) {
|
||||||
echo "🚨 FORCED: Infrastructure deployment requested via parameter or detected changes"
|
echo "🚨 FORCED: Infrastructure deployment requested via parameter"
|
||||||
env.DEPLOYMENT_TYPE = "INFRASTRUCTURE"
|
env.DEPLOYMENT_TYPE = "INFRASTRUCTURE"
|
||||||
currentBuild.description = "INFRASTRUCTURE (forced) | ${env.IMAGE_TAG}"
|
currentBuild.description = "INFRASTRUCTURE (forced) | ${env.IMAGE_TAG}"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user