From 020c89e5e92fcdd1d1f0f20901ae56b7ca331dd6 Mon Sep 17 00:00:00 2001 From: Vatsan Madhavan Date: Mon, 24 Jun 2019 22:12:27 -0700 Subject: [PATCH] Add a high-level override to prevent Helix tests from running --- azure-pipelines.yml | 5 +++++ eng/pipeline.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5c6391a9d..7af253dd0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,6 +14,11 @@ variables: _PublishUsingPipelines: true _DotNetArtifactsCategory: WINDOWSDESKTOP +# This is set in the pipeline directly +# When set to false, CI tests will not be enabled in builds. +# +# _ContinuousIntegrationTestsEnabled: true + # Setting batch to true, triggers one build at a time. # if there is a push while a build in progress, it will wait, # until the running build finishes, and produce a build with all the changes diff --git a/eng/pipeline.yml b/eng/pipeline.yml index f63502e41..1d013cc70 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -157,4 +157,4 @@ jobs: HelixAccessToken: $(_HelixToken) # only defined for internal CI Creator: $(_HelixCreator) SYSTEM_ACCESSTOKEN: $(System.AccessToken) - condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release'), eq(variables['_HelixPublicBuildPipeline'], 'true')) # on helix machine (with real signing) when running on the public build pipeline + condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release'), eq(variables['_HelixPublicBuildPipeline'], 'true'), ne(variables['_ContinuousIntegrationTestsEnabled'], 'false')) # on helix machine (with real signing) when running on the public build pipeline