2023-06-15 20:46:29 +00:00
|
|
|
parameters:
|
|
|
|
disableComponentGovernance: false
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
|
2024-04-10 18:00:04 +00:00
|
|
|
- script: echo "##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
|
2023-06-15 20:46:29 +00:00
|
|
|
displayName: Set skipComponentGovernanceDetection variable
|
|
|
|
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
|
|
|
|
- task: ComponentGovernanceComponentDetection@0
|
|
|
|
continueOnError: true
|