diff options
author | 2019-05-12 18:28:17 -0700 | |
---|---|---|
committer | 2019-05-12 18:28:17 -0700 | |
commit | 6b31993bb009f4cb857f539978be6de9ed29802b (patch) | |
tree | b4c595a33165e172cab0b59f74f5e0584dfa1960 | |
parent | Build all images by default (diff) |
Fix variable definitions
-rw-r--r-- | azure-pipelines.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e762091..123ac24 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,6 +33,10 @@ jobs: displayName: 'Build' dependsOn: test + variables: + BASE_CHANGED: 1 + VENV_CHANGED: 1 + steps: - task: Docker@1 displayName: 'Login: Docker Hub' @@ -42,10 +46,6 @@ jobs: dockerRegistryEndpoint: 'DockerHub' command: 'login' - variables: - BASE_CHANGED: 1 - VENV_CHANGED: 1 - - script: | BUILD_SOURCEBRANCH=refs/heads/"${BUILD_SOURCEBRANCH#refs/heads/}" REQUEST_URL="https://dev.azure.com/python-discord/${SYSTEM_TEAMPROJECTID}/_apis/build/builds?queryOrder=finishTimeDescending&resultFilter=succeeded&\$top=1&repositoryType=${BUILD_REPOSITORY_PROVIDER}&repositoryId=${BUILD_REPOSITORY_NAME}&branchName=${BUILD_SOURCEBRANCH}&api-version=5.0" |