Merge pull request #13032 from jashook/add_arm_stress_scenarios
[platform/upstream/coreclr.git] / buildpipeline / DotNet-Trusted-Publish-Symbols.json
1 {
2   "build": [
3     {
4       "enabled": true,
5       "continueOnError": false,
6       "alwaysRun": false,
7       "displayName": "Set up pipeline-specific git repository",
8       "timeoutInMinutes": 0,
9       "task": {
10         "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
11         "versionSpec": "1.*",
12         "definitionType": "task"
13       },
14       "inputs": {
15         "scriptType": "inlineScript",
16         "scriptName": "",
17         "arguments": "-gitUrl $(PB_VstsRepoGitUrl) -root $(Pipeline.SourcesDirectory)",
18         "workingFolder": "",
19         "inlineScript": "param($gitUrl, $root)\n\nif (Test-Path $root)\n{\n  Remove-Item -Recurse -Force $root\n}\ngit clone --no-checkout $gitUrl $root 2>&1 | Write-Host\ncd $root\ngit checkout $env:SourceVersion 2>&1 | Write-Host\n\nWrite-Host (\"##vso[task.setvariable variable=Pipeline.SourcesDirectory;]$root\")",
20         "failOnStandardError": "true"
21       }
22     },
23     {
24       "enabled": true,
25       "continueOnError": false,
26       "alwaysRun": false,
27       "displayName": "sync -ab",
28       "timeoutInMinutes": 0,
29       "task": {
30         "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
31         "versionSpec": "1.*",
32         "definitionType": "task"
33       },
34       "inputs": {
35         "scriptType": "inlineScript",
36         "scriptName": "",
37         "arguments": "$(PB_CloudDropAccountName) $(CloudDropAccessToken) $(Label)",
38         "workingFolder": "$(Pipeline.SourcesDirectory)",
39         "inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container",
40         "failOnStandardError": "false"
41       }
42     },
43     {
44       "enabled": true,
45       "continueOnError": false,
46       "alwaysRun": false,
47       "displayName": "Extract symbol packages; if release branch, archive",
48       "timeoutInMinutes": 0,
49       "task": {
50         "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
51         "versionSpec": "1.*",
52         "definitionType": "task"
53       },
54       "inputs": {
55         "scriptType": "inlineScript",
56         "scriptName": "",
57         "arguments": "-BuildType $(PB_BuildType) -SymPkgGlob $(PB_AzureContainerSymbolPackageGlob) -Branch $(SourceBranch)",
58         "workingFolder": "$(Pipeline.SourcesDirectory)",
59         "inlineScript": "param($BuildType, $SymPkgGlob, $Branch)\nif ($BuildType -ne \"Release\") { exit }\n$archive = $Branch.StartsWith(\"release/\")\n\n$target = \"GetAllSymbolFilesToPublish\"\nif ($archive) { $target = \"SubmitSymbolsRequest\" }\n\n.\\run.cmd build -- `\n/t:$target `\n/p:SymbolPackagesToPublishGlob=$SymPkgGlob `\n/p:ArchiveSymbols=$archive `\n/v:D",
60         "failOnStandardError": "true"
61       }
62     },
63     {
64       "enabled": true,
65       "continueOnError": false,
66       "alwaysRun": false,
67       "displayName": "Publish Symbols to Artifact Services",
68       "timeoutInMinutes": 0,
69       "task": {
70         "id": "29827cd1-5c33-4ff0-a817-abd46970ffc4",
71         "versionSpec": "0.*",
72         "definitionType": "task"
73       },
74       "inputs": {
75         "symbolServiceURI": "https://microsoft.artifacts.visualstudio.com/DefaultCollection",
76         "requestName": "$(system.teamProject)/$(Build.BuildNumber)/$(Build.BuildId)",
77         "sourcePath": "$(Pipeline.SourcesDirectory)\\bin\\obj\\SymbolsRequest\\ExtractedPackages",
78         "assemblyPath": "",
79         "toLowerCase": "true",
80         "detailedLog": "true",
81         "expirationInDays": "30",
82         "usePat": "false"
83       }
84     }
85   ],
86   "options": [
87     {
88       "enabled": false,
89       "definition": {
90         "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
91       },
92       "inputs": {
93         "additionalFields": "{}"
94       }
95     },
96     {
97       "enabled": false,
98       "definition": {
99         "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
100       },
101       "inputs": {
102         "multipliers": "[]",
103         "parallel": "false",
104         "continueOnError": "true",
105         "additionalFields": "{}"
106       }
107     },
108     {
109       "enabled": false,
110       "definition": {
111         "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
112       },
113       "inputs": {
114         "workItemType": "234347",
115         "assignToRequestor": "true",
116         "additionalFields": "{}"
117       }
118     },
119     {
120       "enabled": false,
121       "definition": {
122         "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
123       },
124       "inputs": {
125         "additionalFields": "{}"
126       }
127     }
128   ],
129   "variables": {
130     "system.debug": {
131       "value": "false",
132       "allowOverride": true
133     },
134     "PB_BuildType": {
135       "value": "Release",
136       "allowOverride": true
137     },
138     "PB_CloudDropAccountName": {
139       "value": "dotnetbuildoutput",
140       "allowOverride": true
141     },
142     "CloudDropAccessToken": {
143       "value": null,
144       "allowOverride": true,
145       "isSecret": true
146     },
147     "OfficialBuildId": {
148       "value": "$(Build.BuildNumber)",
149       "allowOverride": true
150     },
151     "Label": {
152       "value": "$(Build.BuildNumber)",
153       "allowOverride": true
154     },
155     "Pipeline.SourcesDirectory": {
156       "value": "$(Build.BinariesDirectory)\\pipelineRepository"
157     },
158     "PB_VstsAccountName": {
159       "value": "dn-bot"
160     },
161     "PB_VstsRepositoryName": {
162       "value": "DotNet-CoreCLR-Trusted",
163       "allowOverride": true
164     },
165     "PB_VstsRepoGitUrl": {
166       "value": "https://$(PB_VstsAccountName):$(VstsRepoPat)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VstsRepositoryName)/"
167     },
168     "VstsRepoPat": {
169       "value": null,
170       "isSecret": true
171     },
172     "SourceVersion": {
173       "value": "master",
174       "allowOverride": true
175     },
176     "SourceBranch": {
177       "value": "master",
178       "allowOverride": true
179     },
180     "AzureContainerSymbolPackageGlob": {
181       "value": "symbolpkg\\*.nupkg",
182       "allowOverride": true
183     },
184     "PB_AzureContainerSymbolPackageGlob": {
185       "value": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_BuildType)\\$(AzureContainerSymbolPackageGlob)",
186       "allowOverride": true
187     },
188     "PB_DotNetCoreShareDir": {
189       "value": "passed-by-pipebuild",
190       "allowOverride": true
191     },
192     "SymbolsProject": {
193       "value": "CLR"
194     },
195     "SymbolsStatusMail": {
196       "value": "dagood;mawilkie"
197     },
198     "SymbolsUserName": {
199       "value": "dlab"
200     },
201     "SymbolsRelease": {
202       "value": "rtm"
203     },
204     "SymbolsProductGroup": {
205       "value": "Visual_Studio"
206     },
207     "SymbolsProductName": {
208       "value": "dotnetcore"
209     },
210     "SymbolPublishDestinationDir": {
211       "value": "$(PB_DotNetCoreShareDir)\\$(PB_VstsRepositoryName)\\$(Label)\\"
212     }
213   },
214   "retentionRules": [
215     {
216       "branches": [
217         "+refs/heads/*"
218       ],
219       "artifacts": [],
220       "artifactTypesToDelete": [
221         "FilePath",
222         "SymbolStore"
223       ],
224       "daysToKeep": 10,
225       "minimumToKeep": 1,
226       "deleteBuildRecord": true,
227       "deleteTestResults": true
228     }
229   ],
230   "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
231   "jobAuthorizationScope": "projectCollection",
232   "jobTimeoutInMinutes": 180,
233   "jobCancelTimeoutInMinutes": 5,
234   "repository": {
235     "properties": {
236       "labelSources": "0",
237       "reportBuildStatus": "false",
238       "fetchDepth": "0",
239       "gitLfsSupport": "false",
240       "skipSyncSource": "false",
241       "cleanOptions": "0",
242       "labelSourcesFormat": "$(build.buildNumber)"
243     },
244     "id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a",
245     "type": "TfsGit",
246     "name": "DotNet-BuildPipeline",
247     "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline",
248     "defaultBranch": "refs/heads/master",
249     "clean": "true",
250     "checkoutSubmodules": false
251   },
252   "processParameters": {},
253   "quality": "definition",
254   "queue": {
255     "id": 36,
256     "name": "DotNet-Build",
257     "pool": {
258       "id": 39,
259       "name": "DotNet-Build"
260     }
261   },
262   "id": -1,
263   "name": "DotNet-Trusted-Publish-Symbols",
264   "path": "\\",
265   "type": "build",
266   "project": {
267     "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
268     "name": "DevDiv",
269     "description": "Visual Studio and DevDiv team project for git source code repositories.  Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv.  ",
270     "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
271     "state": "wellFormed",
272     "revision": 418097642
273   }
274 }