diff options
-rw-r--r-- | azure-pipelines.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 653231a..575e634 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -35,7 +35,7 @@ jobs: prev_build="$(printf '%s' "${response}" | jq -re '.value[0].id')" printf '%s\n' "Most recent successful build: ${prev_build}" - printf '%s\n' "##vso[task.setvariable variable=PREV_BUILD;isOutput=true]${prev_build}" + printf '%s\n' "##vso[task.setvariable variable=PREV_BUILD]${prev_build}" if [[ "${BUILD_REASON}" = "PullRequest" ]]; then key='triggerInfo."pr.sourceSha"' @@ -45,7 +45,7 @@ jobs: prev_commit="$(printf '%s' "${response}" | jq -re ".value[0].${key}")" printf '%s\n' "Previous commit: ${prev_commit}" - printf '%s\n' "##vso[task.setvariable variable=PREV_COMMIT;isOutput=true]${prev_commit}" + printf '%s\n' "##vso[task.setvariable variable=PREV_COMMIT]${prev_commit}" displayName: 'Get Previous Successful Build' - script: echo '$(PREV_BUILD)' |