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