From 9ff001d57cf9def3136db3de4aeeb918cef03f3a Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 3 Aug 2018 13:55:33 -0700 Subject: [PATCH] Capture global logs on VSTS (#1151) --- .vsts-pipelines/templates/build-steps.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vsts-pipelines/templates/build-steps.yml b/.vsts-pipelines/templates/build-steps.yml index 949093b338..2ebd7b36d1 100644 --- a/.vsts-pipelines/templates/build-steps.yml +++ b/.vsts-pipelines/templates/build-steps.yml @@ -5,6 +5,14 @@ phases: beforeBuild: - powershell: "& ./tools/UpdateIISExpressCertificate.ps1; & ./tools/update_schema.ps1; Restart-Service w3svc" displayName: Prepare repo + afterBuild: + - task: PublishBuildArtifacts@1 + displayName: Upload binlog + condition: always() + inputs: + artifactName: logs + artifactType: Container + pathtoPublish: artifacts/logs/ - template: .vsts-pipelines/templates/phases/default-build.yml@buildtools parameters: