try to propagate sudo creds

pull/10927/head
Sharif Elgamal 2021-04-28 18:21:24 -07:00
parent c8e8c8fb99
commit 7ed18e5811
1 changed files with 2 additions and 2 deletions

View File

@ -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