diff options
-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 |