2024-03-13 15:08:19 +00:00
|
|
|
parameters:
|
|
|
|
disableComponentGovernance: false
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
|
2024-04-10 17:57:40 +00:00
|
|
|
- script: echo "##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
|
2024-03-13 15:08:19 +00:00
|
|
|
displayName: Set skipComponentGovernanceDetection variable
|
|
|
|
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
|
|
|
|
- task: ComponentGovernanceComponentDetection@0
|
|
|
|
continueOnError: true
|