Revive support for component governance variable (#23624)
This commit is contained in:
parent
aedcfbd5c0
commit
36856ca8f9
|
|
@ -242,7 +242,7 @@ jobs:
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
condition: always()
|
condition: always()
|
||||||
|
|
||||||
- ${{ if and(startsWith(parameters.jobDisplayName, 'Build:'), ne(parameters.skipComponentGovernanceDetection, 'true'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
- ${{ if and(startsWith(parameters.jobDisplayName, 'Build:'), ne(variables['skipComponentGovernanceDetection'], 'true'), ne(parameters.skipComponentGovernanceDetection, 'true'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
||||||
condition: and(succeeded(), ne(variables['CG_RAN'], 'true'))
|
condition: and(succeeded(), ne(variables['CG_RAN'], 'true'))
|
||||||
displayName: 'Component Detection'
|
displayName: 'Component Detection'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue