From 74b78a67bec3652c2ce2ccbd5713067ec130122e Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Tue, 26 Mar 2019 10:03:42 -0700 Subject: [PATCH] Don't run component governance detection in postbuild steps (#381) See also #353. In the internal build environment, there's an auto-injected component governance task which needs to run once during the build. This task doesn't need to run during the unit test, package, and internal release jobs. --- build/pipelines/templates/package-appxbundle.yaml | 2 ++ build/pipelines/templates/prepare-release-internalonly.yaml | 2 ++ build/pipelines/templates/run-unit-tests.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/build/pipelines/templates/package-appxbundle.yaml b/build/pipelines/templates/package-appxbundle.yaml index 2965c06..c773575 100644 --- a/build/pipelines/templates/package-appxbundle.yaml +++ b/build/pipelines/templates/package-appxbundle.yaml @@ -20,6 +20,8 @@ jobs: vmImage: vs2017-win2016 workspace: clean: outputs + variables: + skipComponentGovernanceDetection: true steps: - checkout: self clean: true diff --git a/build/pipelines/templates/prepare-release-internalonly.yaml b/build/pipelines/templates/prepare-release-internalonly.yaml index bf302a4..363ca04 100644 --- a/build/pipelines/templates/prepare-release-internalonly.yaml +++ b/build/pipelines/templates/prepare-release-internalonly.yaml @@ -17,6 +17,8 @@ jobs: name: Package ES Lab E workspace: clean: outputs + variables: + skipComponentGovernanceDetection: true steps: - checkout: self clean: true diff --git a/build/pipelines/templates/run-unit-tests.yaml b/build/pipelines/templates/run-unit-tests.yaml index 6123609..2a00011 100644 --- a/build/pipelines/templates/run-unit-tests.yaml +++ b/build/pipelines/templates/run-unit-tests.yaml @@ -14,6 +14,8 @@ jobs: name: Essential Experiences Interactive workspace: clean: outputs + variables: + skipComponentGovernanceDetection: true steps: - checkout: none