Skip to content

Commit

Permalink
Simplify build of che artifacts by PR check pipeline job (#14214)
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 Aug 14, 2019
1 parent ae8fedc commit 608f185
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e/jenkins/crw-ci/pr-check/k8s/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pipeline {
stage("Cleanup") {
steps {
script() {
sh "/usr/local/bin/minikube delete"
sh "/usr/local/bin/minikube delete || true"
}
}
}
Expand Down Expand Up @@ -70,7 +70,7 @@ pipeline {
stage("Build Che") {
steps {
script {
sh "mvn clean install -f ${WORKSPACE}/pom.xml"
sh "mvn clean install -f ${WORKSPACE}/pom.xml -T 4 -U -DskipTests -Dskip-enforce -Dskip-validate-sources"
}
}
}
Expand Down Expand Up @@ -194,6 +194,8 @@ pipeline {
sudo rm -rf `sudo find /tmp -name 'hostpath-provisioner' 2>/dev/null` || true
docker volume rm \$(docker volume ls -q -f dangling=true) || true
docker rm -f \$(sudo docker ps --all | awk 'NR>0 {print \$1;}') || true
"""

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

0 comments on commit 608f185

Please sign in to comment.