Add jenkins logs regardless of exit status

pull/2114/head
Matt Rickard 2017-10-24 10:17:14 -07:00
parent ea31492976
commit 2c4d40e146
1 changed files with 6 additions and 1 deletions

View File

@ -29,10 +29,15 @@ export GOPATH=/var/lib/jenkins/go
docker kill $(docker ps -q) || true
docker rm $(docker ps -aq) || true
set +e
make -j 16 all
set -e
gsutil cp gs://minikube-builds/logs/index.html gs://minikube-builds/logs/${ghprbPullId}/index.html
# Exit if the cross build failed.
if [ "$?"-ne 0]; then echo "cross build failed"; exit 1; fi
# If there are ISO changes, build and upload the ISO
# then set the default to the newly built ISO for testing
if out="$(git diff ${ghprbActualCommit} --name-only $(git merge-base origin/master ${ghprbActualCommit}) | grep deploy/iso/minikube)" &> /dev/null; then