File tree Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 1
1
steps :
2
- - task : DownloadBuildArtifacts @0
3
- displayName : ' Download artifacts '
2
+ - task : DownloadPipelineArtifact @0
3
+ displayName : ' Download build '
4
4
inputs :
5
- buildType : ' current'
6
- downloadType : ' single'
7
- artifactName : artifacts
8
- downloadPath : $(System.DefaultWorkingDirectory)
5
+ artifactName : build
6
+ targetPath : artifacts
Original file line number Diff line number Diff line change 21
21
arguments : ' build.proj /t:Build /p:Configuration=$(Configuration)'
22
22
23
23
- template : publish-artifacts-steps.yml
24
+ parameters :
25
+ artifactName : build
24
26
25
27
- job : Generate_Help
26
28
displayName : Generate Help
47
49
arguments : ' build.proj /t:GenerateHelp /p:Configuration=$(Configuration)'
48
50
49
51
- template : publish-artifacts-steps.yml
52
+ parameters :
53
+ artifactName : help
50
54
51
55
- job : Static_Analysis
52
56
displayName : Static Analysis
70
74
arguments : ' build.proj /t:StaticAnalysis /p:Configuration=$(Configuration)'
71
75
72
76
- template : publish-artifacts-steps.yml
77
+ parameters :
78
+ artifactName : static-analysis
73
79
74
80
- job : Test
75
81
displayName : Test
92
98
custom : msbuild
93
99
arguments : ' build.proj /t:Test /p:Configuration=$(Configuration);Framework=netcoreapp2.1'
94
100
95
- - template : publish-artifacts-steps.yml
101
+ - template : publish-artifacts-steps.yml
102
+ parameters :
103
+ artifactName : test
Original file line number Diff line number Diff line change
1
+ parameters :
2
+ artifactName : ' '
3
+
1
4
steps :
2
- - task : PublishBuildArtifacts@1
3
- displayName : ' Save artifacts '
5
+ - task : PublishPipelineArtifact@0
6
+ displayName : ' Save ${{ parameters.artifactName }} '
4
7
inputs :
5
- artifactName : artifacts
6
- pathtoPublish : artifacts
8
+ artifactName : ${{ parameters.artifactName }}
9
+ targetPath : artifacts
7
10
condition : succeededOrFailed()
You can’t perform that action at this time.
0 commit comments