From 1d222bdc78b71f9c726aaa45aeaed7f54dbd64a3 Mon Sep 17 00:00:00 2001 From: AndriySvyryd Date: Tue, 5 Nov 2019 11:55:30 -0800 Subject: [PATCH] Use a more reliable input for Cosmos test accounts load balancing --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 523da43f03a..89fd81e4d72 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -117,12 +117,16 @@ stages: pool: vmImage: ubuntu-16.04 variables: + - _runCounter: $[counter(variables['Build.Reason'], 0)] - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['system.pullrequest.isfork'], false), notin(variables['Build.Reason'], 'PullRequest', 'Schedule', 'BuildCompletion')) }}: - _CosmosConnectionUrl: 'true' steps: - bash: sudo apt-get install -y libsqlite3-mod-spatialite displayName: Install SpatiaLite continueOnError: true + - bash: | + echo $(_runCounter) + displayName: Counter test 1 - bash: | echo "##vso[task.setvariable variable=_CosmosConnectionUrl]https://ef-nightly-test.documents.azure.com:443/" echo "##vso[task.setvariable variable=_CosmosToken]$(ef-nightly-cosmos-key)"