aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-06-29 21:09:13 -0700
committerGravatar MarkKoz <[email protected]>2019-06-29 21:09:13 -0700
commit8592883cc97d6e74e5c0cc45559f7bd0fc313f96 (patch)
tree52b8fc8f5f2663636382646b596d326ba56a23e5
parentSet BASE_PULL to False from script (diff)
More comparisons
-rw-r--r--azure-pipelines.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 8f1e98e..9606c0b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -18,7 +18,7 @@ jobs:
- script: |
echo "##vso[task.setvariable variable=BASE_CHANGED;isOutput=true]False"
echo "##vso[task.setvariable variable=VENV_CHANGED;isOutput=true]False"
- echo "##vso[task.setvariable variable=BASE_PULL;isOutput=true]False"
+ echo "##vso[task.setvariable variable=BASE_PULL;isOutput=true]True"
name: check
displayName: 'Set Variables'
@@ -49,6 +49,14 @@ jobs:
condition: and(succeeded(), eq(variables.BASE_PULL, True))
displayName: 'Compare String'
+ - script: echo bar
+ condition: and(succeeded(), eq(True, variables.BASE_PULL))
+ displayName: 'Compare String Reverse'
+
+ - script: echo bar
+ condition: and(succeeded(), eq('True', variables.BASE_PULL))
+ displayName: 'Compare String to String'
+
- script: echo baz
condition: and(succeeded(), variables.BASE_PULL)
displayName: 'Compare Implicit Cast'