From 6d081db2dad161cecf1bb41685a9382c5bc501c9 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Mon, 8 Mar 2021 15:39:48 -0800 Subject: [PATCH] Fix the variable usage in CI yaml (#14974) --- .vsts-ci/misc-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vsts-ci/misc-analysis.yml b/.vsts-ci/misc-analysis.yml index a3b9aa88215d..7bf2dc697182 100644 --- a/.vsts-ci/misc-analysis.yml +++ b/.vsts-ci/misc-analysis.yml @@ -90,7 +90,7 @@ jobs: condition: succeededOrFailed() workingDirectory: '$(repoPath)' - - ${{ if not(contains('SYSTEM_COLLECTIONURI','mscodehub')) }}: + - ${{ if not(contains(variables['SYSTEM_COLLECTIONURI'],'mscodehub')) }}: - pwsh: | Import-module ./build.psm1 $path = Join-Path -Path $pwd -ChildPath './commonTestResults.xml'