aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-06-23 17:20:21 -0700
committerGravatar MarkKoz <[email protected]>2019-06-29 20:05:37 -0700
commit981f4fac368ee8ff342916c0be0468ac64192517 (patch)
treefdd2dfb2ac430c3186a9ff27cb4b69795e0c4e5a
parentWhat's your problem? (diff)
Screw the base variable
-rw-r--r--azure-pipelines.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 319d63e..63ee168 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -7,14 +7,12 @@ jobs:
pool:
vmImage: 'Ubuntu-16.04'
- variables:
- API_BASE_URL: 'https://dev.azure.com/$(System.CollectionId)/$(System.TeamProject)/_apis'
-
steps:
- script: |
- set -euxo pipefail
+ set -euo pipefail
- REQUEST_URL="${API_BASE_URL}/build/builds?\
+ REQUEST_URL="https://dev.azure.com/\
+ python-discord/${SYSTEM_TEAMPROJECTID}/_apis/build/builds?\
queryOrder=finishTimeDescending&\
resultFilter=succeeded&\
\$top=1&\
@@ -58,7 +56,7 @@ jobs:
runVersion: 'specific'
buildId: "2434"
artifactName: 'BaseId'
- displayName: 'Download Base ID Artifact'
+ displayName: 'Download Base ID Artifact $(PREV_BUILD)'
- script: |
base_id="$(cat "${SYSTEM_ARTIFACTSDIRECTORY}"/base.sha256)"