Skip to content

Commit

Permalink
ci: publish the bazel test logs (digital-asset#476)
Browse files Browse the repository at this point in the history
As a developer I want to be able to inspect the detailed test logs when those are
failing.
  • Loading branch information
Jonas Chevalier authored Apr 16, 2019
1 parent a0573b1 commit a061db3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci/build-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit a061db3

Please sign in to comment.