quote SOURCEBRANCH

This commit is contained in:
Collin M. Barrett 2020-02-13 06:47:26 -06:00
parent 2829a34161
commit 0382fc0598

View file

@ -19,7 +19,7 @@ steps:
- bash: |
FORKURI=$(curl -X GET "https://api.github.com/repos/$BUILD_REPOSITORY_NAME/pulls/$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER" | jq -r '.head.repo.clone_url')
git clone "$FORKURI" .
git checkout $SYSTEM_PULLREQUEST_SOURCEBRANCH
git checkout "$SYSTEM_PULLREQUEST_SOURCEBRANCH"
displayName: checkout source branch
# TODO: validate author of last commit was $(GITHUBNAME)