11trigger :
22- master
33- release/*
4+ - internal/release/3.*
45
56variables :
67 - name : teamName
@@ -9,192 +10,216 @@ variables:
910 value : ' '
1011 - name : _DotNetPublishToBlobFeed
1112 value : false
13+ - name : _DotNetArtifactsCategory
14+ value : .NETCore
15+ - name : _DotNetValidationArtifactsCategory
16+ value : .NETCore
1217 - ${{ if ne(variables['System.TeamProject'], 'public') }} :
1318 - name : PB_PublishBlobFeedUrl
1419 value : https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
1520 - name : _DotNetPublishToBlobFeed
1621 value : true
22+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
23+ - group : DotNet-CLI-SDLValidation-Params
1724
18- jobs :
19- - template : /eng/build.yml
20- parameters :
21- agentOs : Windows_NT
22- pool :
23- ${{ if eq(variables['System.TeamProject'], 'public') }} :
24- name : NetCorePublic-Pool
25- queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
26- ${{ if ne(variables['System.TeamProject'], 'public') }} :
27- name : NetCoreInternal-Pool
28- queue : buildpool.windows.10.amd64.vs2017
29- strategy :
30- matrix :
31- ${{ if eq(variables['System.TeamProject'], 'public') }} :
32- Build_Debug :
33- _BuildConfig : Debug
34- _PublishType : none
35- _SignType : test
36- Build_Release :
37- _BuildConfig : Release
38- ${{ if eq(variables['System.TeamProject'], 'public') }} :
39- _PublishType : none
40- _SignType : test
41- ${{ if ne(variables['System.TeamProject'], 'public') }} :
42- _PublishType : blob
43- _SignType : real
44-
45- - ${{ if ne(variables['System.TeamProject'], 'public') }} :
25+ stages :
26+ - stage : build
27+ displayName : Build
28+ jobs :
4629 - template : /eng/build.yml
4730 parameters :
48- agentOs : Windows_Perf_Helix
31+ agentOs : Windows_NT
4932 pool :
50- name : Hosted VS2017
33+ ${{ if eq(variables['System.TeamProject'], 'public') }} :
34+ name : NetCorePublic-Pool
35+ queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
36+ ${{ if ne(variables['System.TeamProject'], 'public') }} :
37+ name : NetCoreInternal-Pool
38+ queue : buildpool.windows.10.amd64.vs2017
39+ helixTargetQueue : Windows.10.Amd64.ClientRS5.VS2019.BT.Open
5140 strategy :
5241 matrix :
42+ ${{ if eq(variables['System.TeamProject'], 'public') }} :
43+ Build_Debug :
44+ _BuildConfig : Debug
45+ _PublishType : none
46+ _SignType : test
47+ _Test : -test
5348 Build_Release :
5449 _BuildConfig : Release
55- _PublishType : none
56- _SignType : test
57- _DotNetPublishToBlobFeed : false
50+ ${{ if eq(variables['System.TeamProject'], 'public') }} :
51+ _PublishType : none
52+ _SignType : test
53+ _Test : -test
54+ ${{ if ne(variables['System.TeamProject'], 'public') }} :
55+ _PublishType : blob
56+ _SignType : real
57+ _Test : ' '
58+ - ${{ if eq(variables['System.TeamProject'], 'public') }} :
59+ - template : /eng/build.yml
60+ parameters :
61+ agentOs : Windows_NT_FullFramework
62+ pool :
63+ name : NetCorePublic-Pool
64+ queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
65+ helixTargetQueue : Windows.10.Amd64.ClientRS5.VS2019.BT.Open
66+ strategy :
67+ matrix :
68+ Build_Debug :
69+ _BuildConfig : Debug
70+ _PublishType : none
71+ _SignType : test
72+ Build_Release :
73+ _BuildConfig : Release
74+ _PublishType : none
75+ _SignType : test
5876
59- - ${{ if ne(variables['System.TeamProject'], 'public') }} :
60- - template : /eng/build.yml
61- parameters :
62- agentOs : Windows_Perf_Helix_Fullframework
63- pool :
64- name : Hosted VS2017
65- strategy :
66- matrix :
67- Build_Release :
68- _BuildConfig : Release
69- _PublishType : none
70- _SignType : test
71- _DotNetPublishToBlobFeed : false
77+ - template : /eng/build.yml
78+ parameters :
79+ agentOs : Windows_NT_TestAsTools
80+ pool :
81+ name : NetCorePublic-Pool
82+ queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
83+ strategy :
84+ matrix :
85+ Build_Debug :
86+ _BuildConfig : Debug
87+ _PublishType : none
88+ _SignType : test
7289
73- - template : /eng/build.yml
74- parameters :
75- agentOs : Linux_Perf_Helix
76- pool :
77- name : Hosted Ubuntu 1604
78- strategy :
79- matrix :
80- Build_Release :
81- _BuildConfig : Release
82- _PublishType : none
83- _SignType : test
84- _DotNetPublishToBlobFeed : false
90+ - template : /eng/build.yml
91+ parameters :
92+ agentOs : Ubuntu_16_04
93+ pool :
94+ name : NetCorePublic-Pool
95+ queue : BuildPool.Ubuntu.1604.Amd64.Open
96+ helixTargetQueue : Ubuntu.1604.Amd64.Open
97+ strategy :
98+ matrix :
99+ Build_Debug :
100+ _BuildConfig : Debug
101+ _PublishType : none
102+ _SignType : test
103+ Build_Release :
104+ _BuildConfig : Release
105+ _PublishType : none
106+ _SignType : test
85107
86- - ${{ if eq(variables['System.TeamProject'], 'public') }} :
87- - template : /eng/build.yml
88- parameters :
89- agentOs : Windows_NT_FullFramework
90- pool :
91- name : NetCorePublic-Pool
92- queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
93- strategy :
94- matrix :
95- Build_Debug :
96- _BuildConfig : Debug
97- _PublishType : none
98- _SignType : test
99- Build_Release :
100- _BuildConfig : Release
101- _PublishType : none
102- _SignType : test
108+ - template : /eng/build.yml
109+ parameters :
110+ agentOs : Darwin
111+ pool :
112+ name : Hosted macOS
113+ helixTargetQueue : OSX.1014.Amd64.Open
114+ strategy :
115+ matrix :
116+ Build_Debug :
117+ _BuildConfig : Debug
118+ _PublishType : none
119+ _SignType : test
120+ Build_Release :
121+ _BuildConfig : Release
122+ _PublishType : none
123+ _SignType : test
103124
104- - template : /eng/build.yml
105- parameters :
106- agentOs : Windows_NT_TestAsTools
107- pool :
108- name : NetCorePublic-Pool
109- queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
110- strategy :
111- matrix :
112- Build_Debug :
113- _BuildConfig : Debug
114- _PublishType : none
115- _SignType : test
125+ - template : /eng/build.yml
126+ parameters :
127+ agentOs : Windows_Perf_CI
128+ pool :
129+ name : NetCorePublic-Pool
130+ queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
131+ strategy :
132+ matrix :
133+ Build_Release :
134+ _BuildConfig : Release
135+ _PublishType : none
136+ _SignType : test
116137
117- - template : /eng/build.yml
118- parameters :
119- agentOs : Ubuntu_14_04
120- pool :
121- name : Hosted Ubuntu 1604
122- strategy :
123- matrix :
124- Build_Debug :
125- _BuildConfig : Debug
126- _PublishType : none
127- _SignType : test
128- Build_Release :
129- _BuildConfig : Release
130- _PublishType : none
131- _SignType : test
132- variables :
133- _PREVIEW_VSTS_DOCKER_IMAGE : microsoft/dotnet-buildtools-prereqs:ubuntu-14.04-cross-0cd4667-20170319080304
138+ - template : /eng/build.yml
139+ parameters :
140+ agentOs : Windows_Perf_CI_FullFramework
141+ pool :
142+ name : NetCorePublic-Pool
143+ queue : buildpool.windows.10.amd64.vs2017.open
144+ strategy :
145+ matrix :
146+ Build_Release :
147+ _BuildConfig : Release
148+ _PublishType : none
149+ _SignType : test
134150
135- - template : /eng/build.yml
136- parameters :
137- agentOs : Ubuntu_16_04
138- pool :
139- name : Hosted Ubuntu 1604
140- strategy :
141- matrix :
142- Build_Debug :
143- _BuildConfig : Debug
144- _PublishType : none
145- _SignType : test
146- Build_Release :
147- _BuildConfig : Release
148- _PublishType : none
149- _SignType : test
150- variables :
151- _PREVIEW_VSTS_DOCKER_IMAGE : microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-cross-e435274-20180628134544
151+ - template : /eng/build.yml
152+ parameters :
153+ agentOs : Linux_Perf_CI
154+ pool :
155+ name : NetCorePublic-Pool
156+ queue : BuildPool.Ubuntu.1604.Amd64.Open
157+ strategy :
158+ matrix :
159+ Build_Release :
160+ _BuildConfig : Release
161+ _PublishType : none
162+ _SignType : test
152163
153- - template : /eng/build.yml
164+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
165+ - template : /eng/common/templates/job/publish-build-assets.yml
166+ parameters :
167+ publishUsingPipelines : true
168+ dependsOn :
169+ - Windows_NT
170+ queue :
171+ name : Hosted VS2017
172+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
173+ - template : /eng/common/templates/post-build/post-build.yml
154174 parameters :
155- agentOs : Darwin
156- pool :
157- name : Hosted macOS
158- strategy :
159- matrix :
160- Build_Debug :
161- _BuildConfig : Debug
162- _PublishType : none
163- _SignType : test
164- Build_Release :
165- _BuildConfig : Release
166- _PublishType : none
167- _SignType : test
175+ enableSymbolValidation : false
176+ SDLValidationParameters :
177+ enable : true
178+ params : ' -SourceToolsList @("policheck","credscan")
179+ -TsaInstanceURL $(_TsaInstanceURL)
180+ -TsaProjectName $(_TsaProjectName)
181+ -TsaNotificationEmail $(_TsaNotificationEmail)
182+ -TsaCodebaseAdmin $(_TsaCodebaseAdmin)
183+ -TsaBugAreaPath $(_TsaBugAreaPath)
184+ -TsaIterationPath $(_TsaIterationPath)
185+ -TsaRepositoryName "dotnet-sdk"
186+ -TsaCodebaseName "dotnet-sdk"
187+ -TsaPublish $True '
168188
189+ - stage : helix_tests
190+ displayName : controlled environment performance tests
191+ dependsOn : build
192+ condition : and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'))
193+ jobs :
169194 - template : /eng/build.yml
170195 parameters :
171- agentOs : Windows_Perf_CI
196+ agentOs : Windows_Perf_Helix
172197 pool :
173- name : NetCorePublic-Pool
174- queue : BuildPool.Windows.10.Amd64.VS2019.Pre.Open
198+ name : Hosted VS2017
175199 strategy :
176200 matrix :
177201 Build_Release :
178202 _BuildConfig : Release
179203 _PublishType : none
180204 _SignType : test
205+ _DotNetPublishToBlobFeed : false
181206
182207 - template : /eng/build.yml
183208 parameters :
184- agentOs : Windows_Perf_CI_FullFramework
209+ agentOs : Windows_Perf_Helix_Fullframework
185210 pool :
186- name : NetCorePublic-Pool
187- queue : buildpool.windows.10.amd64.vs2017.open
211+ name : Hosted VS2017
188212 strategy :
189213 matrix :
190214 Build_Release :
191215 _BuildConfig : Release
192216 _PublishType : none
193217 _SignType : test
218+ _DotNetPublishToBlobFeed : false
194219
195220 - template : /eng/build.yml
196221 parameters :
197- agentOs : Linux_Perf_CI
222+ agentOs : Linux_Perf_Helix
198223 pool :
199224 name : Hosted Ubuntu 1604
200225 strategy :
@@ -203,11 +228,4 @@ jobs:
203228 _BuildConfig : Release
204229 _PublishType : none
205230 _SignType : test
206-
207- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
208- - template : /eng/common/templates/job/publish-build-assets.yml
209- parameters :
210- dependsOn :
211- - Windows_NT
212- queue :
213- name : Hosted VS2017
231+ _DotNetPublishToBlobFeed : false
0 commit comments