Publish Test Results in PR Validation (#19533)

This commit is contained in:
Ella Hathaway 2024-04-23 13:22:11 -07:00 committed by GitHub
parent 05ce03283e
commit 8f1e5ee61f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -266,6 +266,20 @@ jobs:
displayName: Prepare BuildLogs staging directory
continueOnError: true
condition: succeededOrFailed()
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- publish: '$(Build.StagingDirectory)/BuildLogs'
artifact: $(Agent.JobName)_BuildLogs_Attempt$(System.JobAttempt)
displayName: Publish BuildLogs
continueOnError: true
condition: succeededOrFailed()
- publish: '${{ variables.sourcesPath }}/artifacts/${{ parameters.architecture }}/Release/'
artifact: $(Agent.JobName)_Artifacts
displayName: Publish Artifacts
condition: succeededOrFailed()
continueOnError: true
- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()