From b3e2dacdaf81846ccae7f56cab556d0526c0b8ce Mon Sep 17 00:00:00 2001 From: Brennan Date: Thu, 20 Feb 2020 12:46:37 -0800 Subject: [PATCH] Fix Helix run (#19175) --- .azure/pipelines/helix-test.yml | 8 ++++++++ eng/scripts/RunHelix.ps1 | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.azure/pipelines/helix-test.yml b/.azure/pipelines/helix-test.yml index b1da5574cb..40849ee4d3 100644 --- a/.azure/pipelines/helix-test.yml +++ b/.azure/pipelines/helix-test.yml @@ -11,6 +11,14 @@ pr: include: - '*' +variables: +- ${{ if ne(variables['System.TeamProject'], 'internal') }}: + - name: _UseHelixOpenQueues + value: 'true' +- ${{ if eq(variables['System.TeamProject'], 'internal') }}: + - name: _UseHelixOpenQueues + value: 'false' + jobs: - template: jobs/default-build.yml parameters: diff --git a/eng/scripts/RunHelix.ps1 b/eng/scripts/RunHelix.ps1 index 00bc794f24..177580d3ea 100644 --- a/eng/scripts/RunHelix.ps1 +++ b/eng/scripts/RunHelix.ps1 @@ -38,4 +38,4 @@ $env:BUILD_REPOSITORY_NAME="aspnetcore" $env:SYSTEM_TEAMPROJECT="aspnetcore" $HelixQueues = $HelixQueues -replace ";", "%3B" -dotnet msbuild $Project /t:Helix /p:IsRequiredCheck=true /p:IsHelixDaily=true /p:HelixTargetQueues=$HelixQueues /p:RunQuarantinedTests=$RunQuarantinedTests \ No newline at end of file +dotnet msbuild $Project /t:Helix /p:IsRequiredCheck=true /p:IsHelixDaily=true /p:HelixTargetQueues=$HelixQueues /p:RunQuarantinedTests=$RunQuarantinedTests /p:_UseHelixOpenQueues=true \ No newline at end of file