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: