Update apps/demo-nginx/Jenkinsfile
This commit is contained in:
2
apps/demo-nginx/Jenkinsfile
vendored
2
apps/demo-nginx/Jenkinsfile
vendored
@@ -474,7 +474,6 @@ EOF
|
||||
# 2. Verify pod images (source of truth)
|
||||
echo ""
|
||||
echo "2. Checking running pod images..."
|
||||
|
||||
POD_IMAGES=$(kubectl get pods -n "${NAMESPACE}" -l app="${APP_NAME}" \
|
||||
-o jsonpath='{.items[*].spec.containers[0].image}')
|
||||
|
||||
@@ -485,7 +484,6 @@ EOF
|
||||
echo " ❌ FAILED: Pods are running wrong image!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo " ✅ All pods are running expected image"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user