Ignore unused ADB files when scanning for Component Governance (#287)
Attempt to fix #286 Also removes duplicate upload of AzDO logs as artifacts
This commit is contained in:
Родитель
d5f2dfa6ab
Коммит
277bae290e
|
@ -92,14 +92,11 @@ stages:
|
|||
testRunTitle: XHarness unit tests - $(Agent.JobName)
|
||||
condition: succeededOrFailed()
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish Logs to VSTS
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)'
|
||||
PublishLocation: Container
|
||||
ArtifactName: $(Agent.Os)_$(Agent.JobName)
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
- ${{ if eq(variables._RunAsPublic, False) }}:
|
||||
- task: ComponentGovernanceComponentDetection@0
|
||||
displayName: Component Governance scan
|
||||
inputs:
|
||||
ignoreDirectories: '$(Build.SourcesDirectory)/.packages,$(Build.SourcesDirectory)/artifacts/obj/Microsoft.DotNet.XHarness.CLI/$(_BuildConfig)/netcoreapp3.1/android-tools-unzipped'
|
||||
|
||||
- ${{ if eq(variables._RunAsPublic, True) }}:
|
||||
- stage: Build_OSX
|
||||
|
@ -175,15 +172,6 @@ stages:
|
|||
testRunTitle: XHarness unit tests - $(Agent.JobName)
|
||||
condition: succeededOrFailed()
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish Logs to VSTS
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)'
|
||||
PublishLocation: Container
|
||||
ArtifactName: $(Agent.Os)_$(Agent.JobName)
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
|
||||
- stage: Test_CLI_Package_In_Helix_Android
|
||||
displayName: 'CLI Android Integration tests (Helix SDK)'
|
||||
dependsOn: Build_OSX
|
||||
|
|
Загрузка…
Ссылка в новой задаче