aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-06-23 18:52:33 -0700
committerGravatar MarkKoz <[email protected]>2019-06-29 20:05:39 -0700
commit7b07bc2afd5419c4ef4394f64e2b74fa91369f71 (patch)
tree1ad26c7bd9ecc21ac35f0b1d9121e778aada82db
parentFix echo (diff)
Remove output variable
-rw-r--r--azure-pipelines.yml4
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)'