Update apps/demo-nginx/Jenkinsfile
This commit is contained in:
14
apps/demo-nginx/Jenkinsfile
vendored
14
apps/demo-nginx/Jenkinsfile
vendored
@@ -325,21 +325,7 @@ EOF
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Wait for Deployment Rollout') {
|
||||
steps {
|
||||
script {
|
||||
echo "⏳ Waiting for Kubernetes rollout to complete..."
|
||||
|
||||
sh """
|
||||
kubectl rollout status deployment/demo-nginx \
|
||||
-n demo-app \
|
||||
--timeout=${DEPLOYMENT_TIMEOUT}
|
||||
"""
|
||||
|
||||
echo "✅ Deployment rollout completed successfully"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user