Skip to content

Commit

Permalink
Fix E2E Happy path tests PR check Jenkinsfile (#14410)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
  • Loading branch information
dmytro-ndp authored Sep 3, 2019
1 parent 40ee503 commit 16b803d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/jenkins/crw-ci/pr-check/k8s/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ pipeline {
--k8spodreadytimeout=180000 \\
-t=${WORKSPACE}/deploy/ \\
--listr-renderer=verbose \\
--platform=minikube \\
--cheimage=${CHE_IMAGE_REPO}:${CHE_IMAGE_TAG}
"""

Expand Down Expand Up @@ -214,6 +215,10 @@ pipeline {
docker volume rm \$(docker volume ls -q -f dangling=true) || true
docker rm -f \$(sudo docker ps --all | awk 'NR>0 {print \$1;}') || true
if [[ \$(docker images | grep '${CHE_IMAGE_REPO}') != "" ]]; then
docker rmi -f \$(docker images | grep '${CHE_IMAGE_REPO}') || true
fi
"""

sh "sudo rm -rf ${WORKSPACE}/e2e"
Expand Down

0 comments on commit 16b803d

Please sign in to comment.