From 46a3bfeffec2fb6b33bfd152d33f33b544e401c9 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Sat, 30 Oct 2021 08:09:57 +0000 Subject: [PATCH] Fix to run all the tests for the scheduled builds, as intended (#61029) --- eng/pipelines/common/xplat-setup.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/common/xplat-setup.yml b/eng/pipelines/common/xplat-setup.yml index 85c27e6..c804309 100644 --- a/eng/pipelines/common/xplat-setup.yml +++ b/eng/pipelines/common/xplat-setup.yml @@ -22,6 +22,7 @@ jobs: shouldContinueOnError: ${{ and(endsWith(variables['Build.DefinitionName'], 'staging'), eq(variables['Build.Reason'], 'PullRequest')) }} # keep in sync with /eng/pipelines/common/variables.yml + nonPRBuild: ${{ and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} dependOnEvaluatePaths: ${{ and(eq(variables['Build.Reason'], 'PullRequest'), in(variables['Build.DefinitionName'], 'runtime', 'runtime-staging', 'runtime-community')) }} variables: @@ -47,11 +48,11 @@ jobs: - name: _BuildConfig value: $(buildConfigUpper) - + - name: _runSmokeTestsOnlyArg - ${{ if ne(parameters.variables['isFullMatrix'], true) }}: + ${{ if ne(variables['nonPRBuild'], true) }}: value: /p:RunSmokeTestsOnly=true - ${{ if eq(parameters.variables['isFullMatrix'], true) }}: + ${{ if eq(variables['nonPRBuild'], true) }}: value: '' - ${{ if or(eq(parameters.osGroup, 'windows'), eq(parameters.hostedOs, 'windows')) }}: -- 2.7.4