From 4776bb7a2de614b74ede6e2ebb23fc530c5a800e Mon Sep 17 00:00:00 2001 From: tstromberg Date: Wed, 5 Feb 2020 10:18:17 -0800 Subject: [PATCH] Set GOPATH for the entire script --- hack/jenkins/release_build_and_upload.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/jenkins/release_build_and_upload.sh b/hack/jenkins/release_build_and_upload.sh index 0f5fc8339d..6e76c4c4a1 100755 --- a/hack/jenkins/release_build_and_upload.sh +++ b/hack/jenkins/release_build_and_upload.sh @@ -35,11 +35,11 @@ grep -E "^VERSION_MAJOR \\?=" Makefile | grep "${VERSION_MAJOR}" grep -E "^VERSION_MINOR \\?=" Makefile | grep "${VERSION_MINOR}" grep -E "^VERSION_BUILD \\?=" Makefile | grep "${VERSION_BUILD}" -# Diagnostics -go env GOPATH +# Force go packages to the Jekins home directory +export GOPATH=$HOME/go # Build and upload -env GOPATH=$HOME/go BUILD_IN_DOCKER=y \ +env BUILD_IN_DOCKER=y \ make -j 16 \ all \ out/minikube-installer.exe \