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)
|
testRunTitle: XHarness unit tests - $(Agent.JobName)
|
||||||
condition: succeededOrFailed()
|
condition: succeededOrFailed()
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- ${{ if eq(variables._RunAsPublic, False) }}:
|
||||||
displayName: Publish Logs to VSTS
|
- task: ComponentGovernanceComponentDetection@0
|
||||||
inputs:
|
displayName: Component Governance scan
|
||||||
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)'
|
inputs:
|
||||||
PublishLocation: Container
|
ignoreDirectories: '$(Build.SourcesDirectory)/.packages,$(Build.SourcesDirectory)/artifacts/obj/Microsoft.DotNet.XHarness.CLI/$(_BuildConfig)/netcoreapp3.1/android-tools-unzipped'
|
||||||
ArtifactName: $(Agent.Os)_$(Agent.JobName)
|
|
||||||
continueOnError: true
|
|
||||||
condition: always()
|
|
||||||
|
|
||||||
- ${{ if eq(variables._RunAsPublic, True) }}:
|
- ${{ if eq(variables._RunAsPublic, True) }}:
|
||||||
- stage: Build_OSX
|
- stage: Build_OSX
|
||||||
|
@ -175,15 +172,6 @@ stages:
|
||||||
testRunTitle: XHarness unit tests - $(Agent.JobName)
|
testRunTitle: XHarness unit tests - $(Agent.JobName)
|
||||||
condition: succeededOrFailed()
|
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
|
- stage: Test_CLI_Package_In_Helix_Android
|
||||||
displayName: 'CLI Android Integration tests (Helix SDK)'
|
displayName: 'CLI Android Integration tests (Helix SDK)'
|
||||||
dependsOn: Build_OSX
|
dependsOn: Build_OSX
|
||||||
|
|
Загрузка…
Ссылка в новой задаче