diff options
author | 2019-06-30 15:05:03 -0700 | |
---|---|---|
committer | 2019-06-30 15:05:03 -0700 | |
commit | eeb963650e8d1785c8fc39e7cc0a5b87fff65a79 (patch) | |
tree | da0a2fd7e9fd819a4246ef59dc1b718aa531a275 | |
parent | Move vars above condition (diff) |
Revert "Move vars above condition"
This reverts commit eb53598b
-rw-r--r-- | azure-pipelines.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2d6262a..5cfdb1a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,17 +31,18 @@ jobs: - job: build displayName: 'Build' - variables: - BASE_CHANGED: $[ coalesce(dependencies.test.outputs['check.BASE_CHANGED'], True) ] - VENV_CHANGED: $[ coalesce(dependencies.test.outputs['check.VENV_CHANGED'], True) ] - BASE_PULL: $[ coalesce(dependencies.test.outputs['check.BASE_PULL'], False) ] condition: > and( succeeded(), - eq(variables.BASE_CHANGED, True) + eq(dependencies.test.outputs['check.BASE_CHANGED'], True) ) dependsOn: test + variables: + BASE_CHANGED: $[ coalesce(dependencies.test.outputs['check.BASE_CHANGED'], True) ] + VENV_CHANGED: $[ coalesce(dependencies.test.outputs['check.VENV_CHANGED'], True) ] + BASE_PULL: $[ coalesce(dependencies.test.outputs['check.BASE_PULL'], False) ] + steps: - script: | echo "${BASE_CHANGED}" |