From 188bbc6ce1256d782ddcc5eb9b0957c07f494c63 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Mon, 10 Sep 2018 14:58:47 -0700 Subject: [PATCH] add component detection task (#1338) --- .vsts/builds/ci-official.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vsts/builds/ci-official.yml b/.vsts/builds/ci-official.yml index 6f305965ba..6b5f843ffb 100644 --- a/.vsts/builds/ci-official.yml +++ b/.vsts/builds/ci-official.yml @@ -73,6 +73,13 @@ phases: pathtoPublish: ./artifacts/ artifactName: artifacts-Windows-Release artifactType: Container + # Detect OSS Components in use in the product. Only needs to run on one OS in the matrix. + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 + displayName: 'Component Detection' + inputs: + # This funky GUID represents the product "ASP.NET and EF Core" + governanceProduct: 'c641993b-8380-e811-80c3-0004ffb4789e' + snapshotForceEnabled: true - task: MicroBuildCleanup@1 displayName: Cleanup MicroBuild tasks condition: always()