ci: publish the bazel test logs (#476)

As a developer I want to be able to inspect the detailed test logs when those are
failing.
This commit is contained in:
Jonas Chevalier 2019-04-16 11:34:21 +02:00 committed by GitHub
parent a0573b1228
commit a061db34d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,10 +33,18 @@ steps:
- task: PublishBuildArtifacts@1
condition: succeededOrFailed()
displayName: 'Publish the bazel execution logs'
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: 'Bazel execution logs'
- task: PublishBuildArtifacts@1
condition: failed()
displayName: 'Publish the bazel test logs'
inputs:
pathtoPublish: 'bazel-testlogs/'
artifactName: 'Bazel test logs'
- bash: ci/release.sh
displayName: 'Release'
condition: and(succeeded(),