You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
544 B
13 lines
544 B
parameters:
|
|
disableComponentGovernance: false
|
|
componentGovernanceIgnoreDirectories: ''
|
|
|
|
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
|
|
inputs:
|
|
ignoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
|