Merge pull request #10899 from wtgodbe/PipelineReporting
[platform/upstream/coreclr.git] / buildpipeline / pipelines.json
1 {
2   "Repository": "coreclr",
3   "Definitions": {
4     "Path": ".",
5     "Type": "VSTS",
6     "BaseUrl":  "https://devdiv.visualstudio.com/DefaultCollection"
7   },
8   "DefinitionGroups": [
9     {
10       "Name": "Product-Build",
11       "Definitions": [
12         {
13           "Name": "DotNet-CoreClr-Trusted-Linux",
14           "Parameters": {
15             "DockerTag": "debian82_prereqs_2",
16             "Rid": "debian.8"
17           },
18           "ReportingParameters": {
19             "OperatingSystem": "Debian 8.2",
20             "Type": "build/product/",
21             "Architecture": "x64"
22           }
23         },
24         {
25           "Name": "DotNet-CoreClr-Trusted-Linux",
26           "Parameters": {
27             "DockerTag": "rhel7_prereqs_2",
28             "Rid": "rhel.7"
29           },
30           "ReportingParameters": {
31             "OperatingSystem": "RedHat 7",
32             "Type": "build/product/",
33             "Architecture": "x64"
34           }
35         },
36         {
37           "Name": "DotNet-CoreClr-Trusted-Linux",
38           "Parameters": {
39             "DockerTag": "ubuntu1404_prereqs_v3",
40             "Rid": "ubuntu.14.04"
41           },
42           "ReportingParameters": {
43             "OperatingSystem": "Ubuntu 14.04",
44             "Type": "build/product/",
45             "Architecture": "x64"
46           }
47         },
48         {
49           "Name": "DotNet-CoreClr-Trusted-Linux",
50           "Parameters": {
51             "DockerTag": "ubuntu1604_prereqs",
52             "Rid": "ubuntu.16.04"
53           },
54           "ReportingParameters": {
55             "OperatingSystem": "Ubuntu 16.04",
56             "Type": "build/product/",
57             "Architecture": "x64"
58           }
59         },
60         {
61           "Name": "DotNet-CoreClr-Trusted-Linux",
62           "Parameters": {
63             "DockerTag": "ubuntu1610_prereqs_v2",
64             "Rid": "ubuntu.16.10"
65           },
66           "ReportingParameters": {
67             "OperatingSystem": "Ubuntu 16.10",
68             "Type": "build/product/",
69             "Architecture": "x64"
70           }
71         },
72         {
73           "Name": "DotNet-CoreClr-Trusted-Linux",
74           "Parameters": {
75             "DockerTag": "fedora24_prereqs_v4",
76             "Rid": "fedora.24"
77           },
78           "ReportingParameters": {
79             "OperatingSystem": "Fedora 24",
80             "Type": "build/product/",
81             "Architecture": "x64"
82           }
83         },
84         {
85           "Name": "DotNet-CoreClr-Trusted-Linux",
86           "Parameters": {
87             "DockerTag": "opensuse421_prereqs_v3",
88             "Rid": "opensuse.42.1"
89           },
90           "ReportingParameters": {
91             "OperatingSystem": "openSUSE 42.1",
92             "Type": "build/product/",
93             "Architecture": "x64"
94           }
95         },
96         {
97           "Name": "DotNet-CoreClr-Trusted-Linux",
98           "Parameters": {
99             "DockerTag": "alpine_prereqs",
100             "Rid": "alpine.3.4.3"
101           },
102           "ReportingParameters": {
103             "OperatingSystem": "Alpine 3.4.3",
104             "Type": "build/product/",
105             "Architecture": "x64"
106           }
107         },
108         {
109           "Name": "DotNet-CoreClr-Trusted-Linux",
110           "Parameters": {
111             "DockerTag": "rhel7_prereqs_2",
112             "portableBuild": "-portable",
113             "Rid": "linux"
114           },
115           "ReportingParameters": {
116             "OperatingSystem": "RedHat 7",
117             "Type": "build/product/",
118             "Architecture": "x64"
119           }
120         },
121         {
122           "Name": "DotNet-CoreClr-Trusted-Mac",
123           "Parameters": {
124             "Rid": "osx.10.12"
125           },
126           "ReportingParameters": {
127             "OperatingSystem": "OSX 10.12",
128             "Type": "build/product/",
129             "Architecture": "x64"
130           }
131         },
132         {
133           "Name": "DotNet-CoreClr-Trusted-Mac",
134           "Parameters": {
135             "Rid": "osx",
136             "portableBuild": "-portable"
137           },
138           "ReportingParameters": {
139             "OperatingSystem": "RedHat 7",
140             "Type": "build/product/",
141             "SubType": "PortableBuild",
142             "Architecture": "x64"
143           }
144         },
145         {
146           "Name": "DotNet-CoreClr-Trusted-Windows",
147           "Parameters": {
148             "Architecture": "x64"
149           },
150           "ReportingParameters": {
151             "OperatingSystem": "Windows",
152             "Type": "build/product/",
153             "Architecture": "x64"
154           }
155         },
156         {
157           "Name": "DotNet-CoreClr-Trusted-Windows",
158           "Parameters": {
159             "Architecture": "x64",
160             "portableBuild": "-portable"
161           },
162           "ReportingParameters": {
163             "OperatingSystem": "Windows",
164             "Type": "build/product/",
165             "SubType" : "PortableBuild",
166             "Architecture": "x64"
167           }
168         },
169         {
170           "Name": "DotNet-CoreClr-Trusted-Windows",
171           "Parameters": {
172             "Architecture": "arm64"
173           },
174           "ReportingParameters": {
175             "OperatingSystem": "Windows",
176             "Type": "build/product/",
177             "Architecture": "arm64"
178           }
179         },
180         {
181           "Name": "DotNet-CoreClr-Trusted-Windows",
182           "Parameters": {
183             "Architecture": "arm64",
184             "portableBuild": "-portable"
185           },
186           "ReportingParameters": {
187             "OperatingSystem": "Windows",
188             "Type": "build/product/",
189             "SubType" : "PortableBuild",
190             "Architecture": "arm64"
191           }
192         },
193         {
194           "Name": "DotNet-CoreClr-Trusted-Windows",
195           "Parameters": {
196             "Architecture": "arm"
197           },
198           "ReportingParameters": {
199             "OperatingSystem": "Windows",
200             "Type": "build/product/",
201             "Architecture": "arm"
202           }
203         },
204         {
205           "Name": "DotNet-CoreClr-Trusted-Windows",
206           "Parameters": {
207             "Architecture": "arm",
208             "portableBuild": "-portable"
209           },
210           "ReportingParameters": {
211             "OperatingSystem": "Windows",
212             "Type": "build/product/",
213             "SubType" : "PortableBuild",
214             "Architecture": "arm"
215           }
216         },
217         {
218           "Name": "DotNet-CoreClr-Trusted-Windows-x86",
219           "ReportingParameters": {
220             "OperatingSystem": "Windows",
221             "Type": "build/product/",
222             "Architecture": "x86"
223           }
224         },
225         {
226           "Name": "DotNet-CoreClr-Trusted-Windows-x86",
227           "Parameters": {
228             "portableBuild": "-portable"
229           },
230           "ReportingParameters": {
231             "OperatingSystem": "Windows",
232             "Type": "build/product/",
233             "SubType" : "PortableBuild",
234             "Architecture": "x86"
235           }
236         }
237       ]
238     },
239     {
240       "Name": "Linux-CrossBuild",
241       "Definitions": [
242         {
243           "Name": "DotNet-CoreClr-Trusted-Linux-Crossbuild",
244           "Parameters": {
245             "DockerTag": "ubuntu1404_cross_prereqs_v2",
246             "Architecture": "arm",
247             "Rid": "ubuntu.14.04"
248           },
249           "ReportingParameters": {
250             "OperatingSystem": "Ubuntu 14.04",
251             "SubType": "CrossBuild",
252             "Type": "build/product/",
253             "Architecture": "arm"
254           }
255         },
256         {
257           "Name": "DotNet-CoreClr-Trusted-Linux-Crossbuild",
258           "Parameters": {
259             "DockerTag": "ubuntu1404_cross_prereqs_v2",
260             "Architecture": "arm",
261             "portableBuild": "-portable",
262             "Rid": "ubuntu.14.04"
263           },
264           "ReportingParameters": {
265             "OperatingSystem": "Ubuntu 14.04",
266             "SubType": "PortableCrossBuild",
267             "Type": "build/product/",
268             "Architecture": "arm"
269           }
270         },
271         {
272           "Name": "DotNet-CoreClr-Trusted-Linux-Crossbuild",
273           "Parameters": {
274             "DockerTag": "ubuntu1604_cross_prereqs_v2",
275             "Architecture": "arm",
276             "Rid": "ubuntu.16.04"
277           },
278           "ReportingParameters": {
279             "OperatingSystem": "Ubuntu 16.04",
280             "SubType": "CrossBuild",
281             "Type": "build/product/",
282             "Architecture": "arm"
283           }
284         }
285       ]
286     }
287   ],
288   "Pipelines": [
289     {
290       "Name": "Trusted-All-Release",
291       "Parameters": {
292         "TreatWarningsAsErrors": "false"
293       },
294       "BuildParameters": {
295         "PB_BuildType": "Release"
296       },
297       "ReportingParameters": {
298         "PB_BuildType": { }
299       },
300       "DefinitionGroupRefs": [
301         "Product-Build"
302       ]
303     },
304     {
305       "Name": "Trusted-All-Debug",
306       "Parameters": {
307         "TreatWarningsAsErrors": "false"
308       },
309       "BuildParameters": {
310         "PB_BuildType": "Debug"
311       },
312       "ReportingParameters": {
313         "PB_BuildType": { }
314       },
315       "DefinitionGroupRefs": [
316         "Product-Build"
317       ]
318     },
319     {
320       "Name": "Trusted-All-Checked",
321       "Parameters": {
322         "TreatWarningsAsErrors": "false"
323       },
324       "BuildParameters": {
325         "PB_BuildType": "Checked"
326       },
327       "ReportingParameters": {
328         "PB_BuildType": { }
329       },
330       "DefinitionGroupRefs": [
331         "Product-Build"
332       ]
333     },
334     {
335       "Name": "Trusted-Crossbuild-Release",
336       "Parameters": {
337         "TreatWarningsAsErrors": "false"
338       },
339       "BuildParameters": {
340         "PB_BuildType": "Release"
341       },
342       "ReportingParameters": {
343         "PB_BuildType": { }
344       },
345       "DefinitionGroupRefs": [
346         "Linux-CrossBuild"
347       ]
348     },
349     {
350       "Name": "Trusted-Crossbuild-Debug",
351       "Parameters": {
352         "TreatWarningsAsErrors": "false"
353       },
354       "BuildParameters": {
355         "PB_BuildType": "Debug"
356       },
357       "ReportingParameters": {
358         "PB_BuildType": { }
359       },
360       "DefinitionGroupRefs": [
361         "Linux-CrossBuild"
362       ]
363     },
364     {
365       "Name": "Trusted-Crossbuild-Checked",
366       "Parameters": {
367         "TreatWarningsAsErrors": "false"
368       },
369       "BuildParameters": {
370         "PB_BuildType": "Checked"
371       },
372       "ReportingParameters": {
373         "PB_BuildType": { }
374       },
375       "DefinitionGroupRefs": [
376         "Linux-CrossBuild"
377       ]
378     },
379     {
380       "Name": "Publish Packages to Feeds - Release",
381       "Parameters": {
382         "TreatWarningsAsErrors": "false"
383       },
384       "BuildParameters": {
385         "PB_BuildType": "Release"
386       },
387       "Definitions": [
388         {
389           "Name": "DotNet-Trusted-Publish",
390           "Parameters": {
391             "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
392             "GitHubRepositoryName": "coreclr",
393             "AzureContainerPackageGlob": "pkg\\*.nupkg",
394             "AzureContainerSymbolPackageGlob": "symbolpkg\\*.nupkg"
395           },
396           "ReportingParameters": {
397             "SubType":  "Publish",
398             "Type": "build/publish/",
399             "PB_BuildType": "Release"
400           }
401         }
402       ],
403       "DependsOn": [
404         "Trusted-All-Release",
405         "Trusted-Crossbuild-Release"
406       ]
407     },
408     {
409       "Name": "Publish Packages to Drop - Debug",
410       "Parameters": {
411         "TreatWarningsAsErrors": "false"
412       },
413       "BuildParameters": {
414         "PB_BuildType": "Debug"
415       },
416       "Definitions": [
417         {
418           "Name": "DotNet-Trusted-Publish",
419           "Parameters": {
420             "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
421             "GitHubRepositoryName": "coreclr"
422           },
423           "ReportingParameters": {
424             "SubType": "Publish",
425             "Type": "build/publish/",
426             "PB_BuildType": "Debug"
427           }
428         }
429       ],
430       "DependsOn": [
431         "Trusted-All-Debug",
432         "Trusted-Crossbuild-Debug"
433       ]
434     },
435     {
436       "Name": "Publish Packages to Drop - Checked",
437       "Parameters": {
438         "TreatWarningsAsErrors": "false"
439       },
440       "BuildParameters": {
441         "PB_BuildType": "Checked"
442       },
443       "Definitions": [
444         {
445           "Name": "DotNet-Trusted-Publish",
446           "Parameters": {
447             "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
448             "GitHubRepositoryName": "coreclr"
449           },
450           "ReportingParameters": {
451             "SubType": "Publish",
452             "Type": "build/publish/",
453             "PB_BuildType": "Checked"
454           }
455         }
456       ],
457       "DependsOn": [
458         "Trusted-All-Checked",
459         "Trusted-Crossbuild-Checked"
460       ]
461     },
462     {
463       "Name": "Build And Run Tests - Release",
464       "Parameters": {
465         "TreatWarningsAsErrors": "false"
466       },
467       "BuildParameters": {
468         "PB_BuildType": "Release"
469       },
470       "Definitions": [
471         {
472           "Name": "Dotnet-CoreClr-Trusted-BuildTests",
473           "Parameters": {
474             "TargetsWindows": "true",
475             "Rid": "windows_nt-x64",
476             "TargetQueues": "windows.10.amd64",
477             "TestContainerSuffix": "windows10",
478             "RuntimeIDArg": " "
479           },
480           "ReportingParameters": {
481             "OperatingSystem": "Windows",
482             "Type": "build/product/",
483             "PB_BuildType": "Release"
484           }
485         },
486         {
487           "Name": "Dotnet-CoreClr-Trusted-BuildTests",
488           "Parameters": {
489             "TargetsWindows": "false",
490             "Rid": "osx.10.12-x64",
491             "TargetQueues": "osx.1012.amd64",
492             "TestContainerSuffix": "osx1012",
493             "RuntimeIDArg": "runtimeid osx.10.12-x64"
494           },
495           "ReportingParameters": {
496             "OperatingSystem": "OSX",
497             "Type": "build/product/",
498             "PB_BuildType": "Release"
499           }
500         },
501         {
502           "Name": "Dotnet-CoreClr-Trusted-BuildTests",
503           "Parameters": {
504             "TargetsWindows": "false",
505             "Rid": "linux-x64",
506             "TargetQueues": "debian.82.amd64,fedora.25.amd64,redhat.72.amd64,ubuntu.1404.amd64,ubuntu.1604.amd64,ubuntu.1610.amd64",
507             "TestContainerSuffix": "linux",
508             "RuntimeIDArg": "runtimeid linux-x64"
509           },
510           "ReportingParameters": {
511             "OperatingSystem": "RedHat 7",
512             "Type": "build/product/",
513             "PB_BuildType": "Release"
514           }
515         }
516       ],
517       "DependsOn": [
518         "Trusted-All-Release"
519       ]
520     }
521   ]
522 }