5 "continueOnError": false,
7 "displayName": "Initialize tools",
10 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
12 "definitionType": "task"
15 "filename": "$(Build.SourcesDirectory)/init-tools.sh",
18 "failOnStandardError": "false"
23 "continueOnError": false,
25 "displayName": "Initialize Docker",
26 "timeoutInMinutes": 0,
28 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
30 "definitionType": "task"
33 "filename": "$(Build.SourcesDirectory)/Tools/scripts/docker/init-docker.sh",
34 "arguments": "$(DockerImageName)",
36 "failOnStandardError": "false"
41 "continueOnError": false,
43 "displayName": "Clone repository",
44 "timeoutInMinutes": 0,
46 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
48 "definitionType": "task"
52 "arguments": "run --rm $(DockerCommonRunArgs) git clone $(GitHubRepo) $(GitHubDirectory)",
54 "failOnStandardError": "false"
59 "continueOnError": false,
61 "displayName": "Run clean.sh",
62 "timeoutInMinutes": 0,
64 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
66 "definitionType": "task"
70 "arguments": "run --rm $(DockerCommonRunArgs) ./clean.sh",
72 "failOnStandardError": "false"
77 "continueOnError": false,
79 "displayName": "Check out the specified commit",
80 "timeoutInMinutes": 0,
82 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
84 "definitionType": "task"
88 "arguments": "run --rm $(DockerCommonRunArgs) git checkout $(Build.SourceVersion)",
90 "failOnStandardError": "false"
95 "continueOnError": false,
97 "displayName": "Run sync.sh",
98 "timeoutInMinutes": 0,
100 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
101 "versionSpec": "1.*",
102 "definitionType": "task"
105 "filename": "docker",
106 "arguments": "run --rm $(DockerCommonRunArgs) ./sync.sh",
108 "failOnStandardError": "false"
113 "continueOnError": false,
115 "displayName": "Run build.sh",
116 "timeoutInMinutes": 0,
118 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
119 "versionSpec": "1.*",
120 "definitionType": "task"
123 "filename": "docker",
124 "arguments": "run --rm $(DockerCommonRunArgs) ./build.sh $(PB_BuildType) $(Architecture) $(portableBuild) skipnuget -skiprestore stripSymbols -OfficialBuildId=$(OfficialBuildId) -- /p:\"ConfigurationGroup=\"Release\" /flp:\"v=diag\"",
126 "failOnStandardError": "false"
131 "continueOnError": false,
133 "displayName": "Run build-packages.sh",
134 "timeoutInMinutes": 0,
136 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
137 "versionSpec": "1.*",
138 "definitionType": "task"
141 "filename": "docker",
142 "arguments": "run --rm $(DockerCommonRunArgs) ./build-packages.sh $(portableBuild) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture)",
144 "failOnStandardError": "false"
149 "continueOnError": false,
151 "displayName": "Run publish-packages.sh",
152 "timeoutInMinutes": 0,
154 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
155 "versionSpec": "1.*",
156 "definitionType": "task"
159 "filename": "docker",
160 "arguments": "run --rm $(DockerCommonRunArgs) ./publish-packages.sh -AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Platform) -Container=$(Label) -distroRid=$(Rid) -- /p:OverwriteOnPublish=true",
162 "failOnStandardError": "false"
167 "continueOnError": true,
169 "displayName": "Create Copy Container",
170 "timeoutInMinutes": 0,
172 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
173 "versionSpec": "1.*",
174 "definitionType": "task"
177 "filename": "docker",
178 "arguments": "run $(DockerCommonRunArgs) echo",
180 "failOnStandardError": "false"
185 "continueOnError": true,
187 "displayName": "Expose Docker repo for publishing",
188 "timeoutInMinutes": 0,
190 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
191 "versionSpec": "1.*",
192 "definitionType": "task"
195 "filename": "docker",
196 "arguments": "cp $(DockerContainerName):$(GitHubDirectory) $(DockerCopyDest)",
198 "failOnStandardError": "false"
203 "continueOnError": true,
205 "displayName": "Copy Publish Artifact: BuildLogs",
206 "timeoutInMinutes": 0,
208 "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
209 "versionSpec": "1.*",
210 "definitionType": "task"
213 "CopyRoot": "$(DockerCopyDest)",
214 "Contents": "**/*.log",
215 "ArtifactName": "BuildLogs",
216 "ArtifactType": "Container",
217 "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
222 "continueOnError": true,
224 "displayName": "Cleanup Docker",
225 "timeoutInMinutes": 0,
227 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
228 "versionSpec": "1.*",
229 "definitionType": "task"
232 "filename": "$(Build.SourcesDirectory)/Tools/scripts/docker/cleanup-docker.sh",
235 "failOnStandardError": "false"
240 "continueOnError": true,
242 "displayName": "Cleanup Docker Volume",
243 "timeoutInMinutes": 0,
245 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
246 "versionSpec": "1.*",
247 "definitionType": "task"
250 "filename": "docker",
251 "arguments": "volume rm $(DockerVolumeName)",
253 "failOnStandardError": "false"
258 "continueOnError": true,
260 "displayName": "Cleanup VSTS Agent",
261 "timeoutInMinutes": 0,
263 "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
264 "versionSpec": "1.*",
265 "definitionType": "task"
268 "filename": "$(Build.SourcesDirectory)/Tools/msbuild.sh",
269 "arguments": "cleanupagent.proj /p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
270 "workingFolder": "$(Build.SourcesDirectory)/Tools/scripts/vstsagent/",
271 "failOnStandardError": "false"
279 "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
282 "additionalFields": "{}"
288 "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
293 "continueOnError": "true",
294 "additionalFields": "{}"
300 "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
303 "workItemType": "234347",
304 "assignToRequestor": "true",
305 "additionalFields": "{}"
311 "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
314 "additionalFields": "{}"
321 "allowOverride": true
330 "value": "http://github.com/dotnet/coreclr.git"
333 "value": "/root/coreclr"
335 "DockerContainerName": {
336 "value": "coreclr-$(Build.BuildId)"
339 "value": "$(DockerRepository):$(DockerTag)"
341 "DockerRepository": {
342 "value": "microsoft/dotnet-buildtools-prereqs"
345 "value": "debian82_prereqs_2",
346 "allowOverride": true
348 "CloudDropAccountName": {
349 "value": "dotnetbuildoutput"
351 "CloudDropAccessToken": {
356 "value": "$(Build.BuildNumber)",
357 "allowOverride": true
360 "value": "$(Build.BuildNumber)"
363 "value": "sni_plus_latestbuildtools"
375 "CommitToCheckout": {
377 "allowOverride": true
382 "DockerVolumeName": {
383 "value": "coreclr-$(Build.BuildId)"
385 "DockerCommonRunArgs": {
386 "value": "--name $(DockerContainerName) -v \"$(DockerVolumeName):$(GitHubDirectory)\" -w=\"$(GitHubDirectory)\" $(DockerImageName)"
389 "value": "$(Build.BinariesDirectory)/docker_repo"
396 "Agent.OS -equals linux"
404 "artifactTypesToDelete": [
410 "deleteBuildRecord": true,
411 "deleteTestResults": true
414 "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)-$(DockerTag)$(portableBuild)",
415 "jobAuthorizationScope": "projectCollection",
416 "jobTimeoutInMinutes": 90,
420 "reportBuildStatus": "true",
422 "gitLfsSupport": "false",
423 "skipSyncSource": "false",
426 "id": "670e3783-ab4f-44fc-9786-d332007da311",
428 "name": "DotNet-CoreCLR-Trusted",
429 "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
430 "defaultBranch": "refs/heads/master",
432 "checkoutSubmodules": false
434 "processParameters": {},
435 "quality": "definition",
439 "name": "DotNet-Build"
442 "name": "DotNet-Build"
447 "name": "DotNet-CoreClr-Trusted-Linux",
448 "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/1713",
450 "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
452 "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. ",
453 "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
454 "state": "wellFormed",
455 "revision": 418097633