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:
Přemek Vysoký 2020-07-30 17:43:52 +02:00 коммит произвёл GitHub
Родитель d5f2dfa6ab
Коммит 277bae290e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 17 удалений

Просмотреть файл

@ -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