summaryrefslogtreecommitdiff
path: root/eng/build-job.yml
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2019-03-04 15:22:56 -0800
committerGitHub <noreply@github.com>2019-03-04 15:22:56 -0800
commit857567c1b7f35986bc72d7d417e8db64f4df9f72 (patch)
tree8beb88758fc26f2e8a405260a873dd3b4e63a8e7 /eng/build-job.yml
parentd17b66c8bbc21fc8be18d901e691ed7e9bc8d7ce (diff)
downloadcoreclr-857567c1b7f35986bc72d7d417e8db64f4df9f72.tar.gz
coreclr-857567c1b7f35986bc72d7d417e8db64f4df9f72.tar.bz2
coreclr-857567c1b7f35986bc72d7d417e8db64f4df9f72.zip
Publish logs as pipeline artifacts for build-job.yml and test-job.yml (#22926)
Diffstat (limited to 'eng/build-job.yml')
-rw-r--r--eng/build-job.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/eng/build-job.yml b/eng/build-job.yml
index 8e10ce8a9b..7e9f631c01 100644
--- a/eng/build-job.yml
+++ b/eng/build-job.yml
@@ -187,6 +187,14 @@ jobs:
artifactName: ${{ format('build_{0}_{1}_{2}_nuget', parameters.osIdentifier, parameters.archType, parameters.buildConfig) }}
targetPath: $(Build.SourcesDirectory)/bin/Product/$(osGroup).$(archType).$(buildConfigUpper)/.nuget/pkg
+ # Publish Logs
+ - task: PublishPipelineArtifact@0
+ displayName: Publish Logs
+ inputs:
+ artifactName: ${{ format('build_{0}_{1}_{2}_Logs', parameters.osIdentifier, parameters.archType, parameters.buildConfig) }}
+ targetPath: $(Build.SourcesDirectory)/bin/Logs
+ continueOnError: true
+ condition: always()
# Kill tasks that hold onto files on Windows. Otherwise git clean
# may fail for later jobs on the same agent.