From 7ed18e581128b531ced62afa06fa54e310cf6a81 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Wed, 28 Apr 2021 18:21:24 -0700 Subject: [PATCH] try to propagate sudo creds --- hack/jenkins/osx_integration_tests_hyperkit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/osx_integration_tests_hyperkit.sh b/hack/jenkins/osx_integration_tests_hyperkit.sh index 302848d2ce..e07eef9475 100755 --- a/hack/jenkins/osx_integration_tests_hyperkit.sh +++ b/hack/jenkins/osx_integration_tests_hyperkit.sh @@ -24,7 +24,7 @@ # access_token: The Github API access token. Injected by the Jenkins credential provider. -set -e +set -ex OS_ARCH="darwin-amd64" VM_DRIVER="hyperkit" @@ -38,4 +38,4 @@ install cron/cleanup_and_reboot_Darwin.sh $HOME/cleanup_and_reboot.sh || echo "F echo "*/30 * * * * $HOME/cleanup_and_reboot.sh" | crontab crontab -l -source common.sh +echo ${jenkins_pass} | sudo -S source common.sh