Skip to content

Commit 882efad

Browse files
Steve HuSteve Hu
Steve Hu
authored and
Steve Hu
committed
Merged PR 675333: Move PublishPipelineArtifact tasks to outputs
Move PublishPipelineArtifact tasks to outputs Related work items: #1975588
1 parent e6f805f commit 882efad

File tree

2 files changed

+30
-16
lines changed

2 files changed

+30
-16
lines changed

.azdo/linux/job-selfhost.yml

+15-8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ jobs:
1616
- input: checkout
1717
repository: self
1818
fetchDepth: 1
19+
outputs:
20+
- output: pipelineArtifact
21+
targetPath: $(Build.SourcesDirectory)/Out/Logs
22+
artifactName: BuildXL-Logs.$(System.JobName).$(System.JobAttempt)
23+
condition: always()
24+
continueOnError: true
25+
displayName: Upload BuildXL Logs
26+
os: linux
27+
sdl:
28+
credscan:
29+
enabled: false
30+
antimalwareScan:
31+
enabled: false
32+
publishLogs:
33+
enabled: false
1934

2035
timeoutInMinutes: 90
2136

@@ -125,14 +140,6 @@ jobs:
125140
PATCloudBuild: $(PAT-TseBuild-AzureDevOps-CloudBuild-Packaging-Read)
126141
VSTSPERSONALACCESSTOKEN: $(PAT-TseBuild-AzureDevOps-mseng-buildcache)
127142
128-
- task: PublishPipelineArtifact@1
129-
displayName: Upload BuildXL Logs
130-
inputs:
131-
targetPath: $(Build.SourcesDirectory)/Out/Logs
132-
artifactName: BuildXL-Logs.$(System.JobName).$(System.JobAttempt)
133-
condition: always()
134-
continueOnError: true
135-
136143
- task: PublishTestResults@2
137144
displayName: Publish Test Results
138145
inputs:

.azdo/linux/pipeline.yml

+15-8
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,21 @@ extends:
5757
- input: checkout
5858
repository: self
5959
fetchDepth: 1
60+
outputs:
61+
- output: pipelineArtifact
62+
targetPath: $(PackageDir)
63+
artifactName: $(PackageArtifactName)
64+
condition: always()
65+
continueOnError: true
66+
displayName: Publish Pipeline Artifact
67+
os: linux
68+
sdl:
69+
credscan:
70+
enabled: false
71+
antimalwareScan:
72+
enabled: false
73+
publishLogs:
74+
enabled: false
6075
steps:
6176
- bash: make cleanall && make all -j
6277
workingDirectory: Public/Src/Sandbox/Linux
@@ -67,14 +82,6 @@ extends:
6782
workingDirectory: Public/Src/Sandbox/Linux
6883
displayName: Pack Nuget
6984

70-
- task: PublishPipelineArtifact@1
71-
inputs:
72-
targetPath: $(PackageDir)
73-
artifactName: $(PackageArtifactName)
74-
condition: always()
75-
continueOnError: true
76-
displayName: Publish Pipeline Artifact
77-
7885
# Publish the built runtime in a separate job
7986
# TODO: this could be merged with the previous job if the container image had all the required tools preinstalled
8087
- ${{ if parameters.PublishLinuxRuntimeNuget }}:

0 commit comments

Comments
 (0)