Skip to content

Commit

Permalink
Update CI pipeline to upload build logs (microsoft#4971)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvv authored and nasadigital committed May 26, 2020
1 parent 7970fd9 commit 30be95a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .ado/templates/react-native-init.yml
Expand Up @@ -163,3 +163,11 @@ steps:
artifact: '$(Agent.JobName).Verdaccio.log'
publishLocation: 'pipeline'
condition: failed()

- task: PublishPipelineArtifact@1
displayName: Upload msbuild.binlog (on failure)
inputs:
targetPath: '$(Agent.BuildDirectory)\testcli\*.binlog'
artifact: '$(Agent.JobName).msbuild.binlog'
publishLocation: 'pipeline'
condition: failed()
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -148,6 +148,7 @@ x64/
x86/
bld/
[Ll]og/
*.binlog

# Certificates
*.pfx
Expand Down

0 comments on commit 30be95a

Please sign in to comment.