Update apps/demo-nginx/Jenkinsfile
This commit is contained in:
4
apps/demo-nginx/Jenkinsfile
vendored
4
apps/demo-nginx/Jenkinsfile
vendored
@@ -474,8 +474,8 @@ EOF
|
||||
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}')
|
||||
POD_IMAGES=$(kubectl get pods -n "${NAMESPACE}" -l app="${APP_NAME}" -o jsonpath='{.items[*].spec.containers[0].image}')
|
||||
|
||||
|
||||
echo " Pod images: ${POD_IMAGES}"
|
||||
echo " Expected tag: ${IMAGE_TAG}"
|
||||
|
||||
Reference in New Issue
Block a user