Update apps/demo-nginx/Jenkinsfile

This commit is contained in:
2026-01-08 09:54:08 +00:00
parent 2e360641e3
commit df69ad65f8

View File

@@ -474,7 +474,6 @@ EOF
# 2. Verify pod images (source of truth) # 2. Verify pod images (source of truth)
echo "" echo ""
echo "2. Checking running pod images..." echo "2. Checking running pod images..."
POD_IMAGES=$(kubectl get pods -n "${NAMESPACE}" -l app="${APP_NAME}" \ POD_IMAGES=$(kubectl get pods -n "${NAMESPACE}" -l app="${APP_NAME}" \
-o jsonpath='{.items[*].spec.containers[0].image}') -o jsonpath='{.items[*].spec.containers[0].image}')
@@ -485,7 +484,6 @@ EOF
echo " ❌ FAILED: Pods are running wrong image!" echo " ❌ FAILED: Pods are running wrong image!"
exit 1 exit 1
fi fi
echo " ✅ All pods are running expected image" echo " ✅ All pods are running expected image"