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 ""
|
||||||
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}')
|
|
||||||
|
|
||||||
echo " Pod images: ${POD_IMAGES}"
|
echo " Pod images: ${POD_IMAGES}"
|
||||||
echo " Expected tag: ${IMAGE_TAG}"
|
echo " Expected tag: ${IMAGE_TAG}"
|
||||||
|
|||||||
Reference in New Issue
Block a user