From d46990856aa99761831164ec74c0f390a26b5da8 Mon Sep 17 00:00:00 2001 From: Doug Bunting <dougbu@microsoft.com> Date: Mon, 4 Feb 2019 09:41:45 -0800 Subject: [PATCH] Add component detection step to builds - aspnet/AspNetCore-Internal#1254 --- .azure/pipelines/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 9b0ccc891d2..b4bb44fad4e 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -77,6 +77,11 @@ jobs: - script: ./build.cmd -ci -sign /t:SignCheck /p:SignType=$(_SignType) displayName: Run sign check condition: eq(variables['_SignType'], 'real') + + # 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: Detect components + condition: eq(variables['system.pullrequest.isfork'], false) artifacts: - name: Windows_Packages path: artifacts/packages/ -- GitLab