Browse Source

Touch up component detection
- run only on success of previous steps

Doug Bunting 7 years ago
parent
commit
758ba235fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .azure/pipelines/ci.yml

+ 1 - 1
.azure/pipelines/ci.yml

@@ -81,7 +81,7 @@ jobs:
     # 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)
+      condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
     artifacts:
     - name: Windows_Packages
       path: artifacts/packages/