diff --git a/azure/init.sh b/azure/init.sh index 74bd2842..fe7cd8b4 100644 --- a/azure/init.sh +++ b/azure/init.sh @@ -45,6 +45,8 @@ echo '${TARGET_USER} ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers BRANCH=$5 +export GIT_USERNAME=$6 +export GIT_TOKEN=$7 echo ${BRANCH} > /tmp/branch_name @@ -167,8 +169,6 @@ find_private_ips() { find_private_ips "$@" -export GIT_USERNAME=$6 -export GIT_TOKEN=$7 # cache git credentials so that we can clone a private repository with caching enabled ./cache_git_creds.sh