From 02ad7daa8b0ad4251231f2ade9bc054f1f54234f Mon Sep 17 00:00:00 2001 From: Raymond Yang Date: Mon, 11 Mar 2019 15:30:49 -0700 Subject: [PATCH] Add component detection (#592) --- .../azure-pipelines-py-packaging.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/azure-pipelines-py-packaging.yml b/tools/ci_build/github/azure-pipelines/azure-pipelines-py-packaging.yml index a507400934..48555b6446 100644 --- a/tools/ci_build/github/azure-pipelines/azure-pipelines-py-packaging.yml +++ b/tools/ci_build/github/azure-pipelines/azure-pipelines-py-packaging.yml @@ -30,6 +30,10 @@ jobs: inputs: ArtifactName: onnxruntime + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 + displayName: 'Component Detection' + condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) + - template: templates/clean-agent-build-directory-step.yml - job: Ubuntu1604_py_GPU_Wheels @@ -63,6 +67,10 @@ jobs: inputs: ArtifactName: onnxruntime_gpu + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 + displayName: 'Component Detection' + condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) + - template: templates/clean-agent-build-directory-step.yml - job: Windows_py_Wheels @@ -111,6 +119,10 @@ jobs: continueOnError: true condition: always() + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 + displayName: 'Component Detection' + condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) + - template: templates/clean-agent-build-directory-step.yml - job: Windows_py_GPU_Wheels @@ -174,6 +186,10 @@ jobs: continueOnError: true condition: always() + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 + displayName: 'Component Detection' + condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) + - template: templates/clean-agent-build-directory-step.yml - job: MacOS_py_Wheels @@ -213,4 +229,8 @@ jobs: inputs: ArtifactName: onnxruntime + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 + displayName: 'Component Detection' + condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) + - template: templates/clean-agent-build-directory-step.yml