Skip to content

Commit

Permalink
Merge pull request #2114 from r2d4/jenkins-logs
Browse files Browse the repository at this point in the history
Add jenkins logs regardless of exit status
  • Loading branch information
r2d4 authored Oct 27, 2017
2 parents 8a77f9f + 2c4d40e commit 83440fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hack/jenkins/minikube_cross_build_and_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83440fe

Please sign in to comment.