10 lines
No EOL
409 B
YAML
10 lines
No EOL
409 B
YAML
parameters:
|
|
disableComponentGovernance: false
|
|
|
|
steps:
|
|
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
|
|
- script: "echo ##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
|
|
displayName: Set skipComponentGovernanceDetection variable
|
|
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
|
|
- task: ComponentGovernanceComponentDetection@0
|
|
continueOnError: true |