diff options
author | 2019-06-30 15:02:51 -0700 | |
---|---|---|
committer | 2019-06-30 15:02:51 -0700 | |
commit | eb53598b3439f70f5320c55521b4cd21a6e67179 (patch) | |
tree | fb6e1ea3d721f744f0655f4475c800336f376310 | |
parent | Use output var directly (diff) |
Move vars above condition
-rw-r--r-- | azure-pipelines.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5cfdb1a..2d6262a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,18 +31,17 @@ 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(dependencies.test.outputs['check.BASE_CHANGED'], True) + eq(variables.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}" |