diff options
author | 2019-05-12 18:48:15 -0700 | |
---|---|---|
committer | 2019-05-12 18:48:15 -0700 | |
commit | e04e02c98fd88e4b9effb378f7e31ad6174150c6 (patch) | |
tree | c0bb678e7c57f90364e4c44c0613a71d31a33143 | |
parent | Use true/false strings for settings booleans in bash (diff) |
Reference target branch as a remote rather than a local branch
-rw-r--r-- | azure-pipelines.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4beb59d..f6a1a9d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -54,7 +54,7 @@ jobs: PREV_COMMIT="$(curl -sSL "${REQUEST_URL}" | grep -Po '"sourceVersion":"\K.*?[^\\](?=",)')" if [[ -z $PREV_COMMIT ]]; then echo "Could not retrieve the previous build's commit. Falling back to the head of the target branch." - PREV_COMMIT=$SYSTEM_PULLREQUEST_TARGETBRANCH + PREV_COMMIT="origin/$SYSTEM_PULLREQUEST_TARGETBRANCH" else echo "Retrieved $PREV_COMMIT as previous build's commit." fi |