Skip to content

Commit 9ff001d

Browse files
authored
Capture global logs on VSTS (#1151)
1 parent f867367 commit 9ff001d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.vsts-pipelines/templates/build-steps.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ phases:
55
beforeBuild:
66
- powershell: "& ./tools/UpdateIISExpressCertificate.ps1; & ./tools/update_schema.ps1; Restart-Service w3svc"
77
displayName: Prepare repo
8+
afterBuild:
9+
- task: PublishBuildArtifacts@1
10+
displayName: Upload binlog
11+
condition: always()
12+
inputs:
13+
artifactName: logs
14+
artifactType: Container
15+
pathtoPublish: artifacts/logs/
816

917
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
1018
parameters:

0 commit comments

Comments
 (0)