summaryrefslogtreecommitdiff
path: root/buildpipeline
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2017-04-13 14:17:19 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2017-04-13 14:17:19 +0900
commita56e30c8d33048216567753d9d3fefc2152af8ac (patch)
tree7e5d979695fc4a431740982eb1cfecc2898b23a5 /buildpipeline
parent4b11dc566a5bbfa1378d6266525c281b028abcc8 (diff)
downloadcoreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.gz
coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.bz2
coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.zip
Imported Upstream version 2.0.0.11353upstream/2.0.0.11353
Diffstat (limited to 'buildpipeline')
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json496
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Linux.json457
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Mac.json245
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json472
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Windows.json390
-rw-r--r--buildpipeline/DotNet-Trusted-Publish.json590
-rw-r--r--buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json291
-rw-r--r--buildpipeline/README.md5
-rw-r--r--buildpipeline/pipelines.json547
9 files changed, 3493 insertions, 0 deletions
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json b/buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json
new file mode 100644
index 0000000000..ab8fc1ed4d
--- /dev/null
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json
@@ -0,0 +1,496 @@
+{
+ "build": [
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Initialize tools",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/init-tools.sh",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Initialize Docker",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/Tools/scripts/docker/init-docker.sh",
+ "arguments": "$(DockerImageName)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Clone repository",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) git clone $(GitHubRepo) $(GitHubDirectory)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run clean.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./clean.sh",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Check out the specified commit",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) git checkout $(Build.SourceVersion)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run sync.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./sync.sh",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build-rootfs.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "sudo",
+ "arguments": "docker run --privileged --rm $(DockerCommonRunArgs) ./cross/build-rootfs.sh $(Architecture) $(CrossToolsetVersion) $(SkipUnmount)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm -e ROOTFS_DIR $(DockerCommonRunArgs) ./build.sh $(PB_BuildType) $(Architecture) $(portableBuild) skipnuget cross -skiprestore stripSymbols -OfficialBuildId=$(OfficialBuildId) -- /p:\"ConfigurationGroup=\"Release\" /flp:\"v=diag\"",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build-packages.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./build-packages.sh $(portableBuild) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Cleanup RootFS",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm --privileged $(DockerCommonRunArgs) git clean -xdf $(GitHubDirectory)/cross/",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run publish-packages.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./publish-packages.sh -AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(Label) -distroRid=$(Rid) -- /p:OverwriteOnPublish=true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Create Copy Container",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run $(DockerCommonRunArgs) echo",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Expose Docker repo for publishing",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "cp $(DockerContainerName):$(GitHubDirectory) $(DockerCopyDest)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: BuildLogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "$(DockerCopyDest)",
+ "Contents": "**/*.log",
+ "ArtifactName": "BuildLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Cleanup Docker",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/Tools/scripts/docker/cleanup-docker.sh",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Cleanup Docker Volume",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "volume rm $(DockerVolumeName)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Cleanup VSTS Agent",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/Tools/msbuild.sh",
+ "arguments": "cleanupagent.proj /p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
+ "workingFolder": "$(Build.SourcesDirectory)/Tools/scripts/vstsagent/",
+ "failOnStandardError": "false"
+ }
+ }
+ ],
+ "options": [
+ {
+ "enabled": false,
+ "definition": {
+ "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
+ },
+ "inputs": {
+ "multipliers": "[]",
+ "parallel": "false",
+ "continueOnError": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+ },
+ "inputs": {
+ "workItemType": "234347",
+ "assignToRequestor": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ }
+ ],
+ "variables": {
+ "system.debug": {
+ "value": "false",
+ "allowOverride": true
+ },
+ "Platform": {
+ "value": "x64"
+ },
+ "PB_BuildType": {
+ "value": "Release"
+ },
+ "GitHubRepo": {
+ "value": "http://github.com/dotnet/coreclr.git"
+ },
+ "GitHubDirectory": {
+ "value": "/root/coreclr"
+ },
+ "DockerContainerName": {
+ "value": "coreclr-cross-$(Build.BuildId)"
+ },
+ "DockerImageName": {
+ "value": "$(DockerRepository):$(DockerTag)"
+ },
+ "DockerRepository": {
+ "value": "microsoft/dotnet-buildtools-prereqs"
+ },
+ "DockerTag": {
+ "value": "ubuntu1404_cross_prereqs_v1",
+ "allowOverride": true
+ },
+ "CloudDropAccountName": {
+ "value": "dotnetbuildoutput"
+ },
+ "CloudDropAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "OfficialBuildId": {
+ "value": "$(Build.BuildNumber)",
+ "allowOverride": true
+ },
+ "Label": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "GitHubBranch": {
+ "value": "sni_plus_latestbuildtools"
+ },
+ "Priority": {
+ "value": "0"
+ },
+ "RepoAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "Architecture": {
+ "value": "arm"
+ },
+ "CommitToCheckout": {
+ "value": "HEAD",
+ "allowOverride": true
+ },
+ "DockerCopyDest": {
+ "value": "$(Build.BinariesDirectory)/docker_repo"
+ },
+ "portableBuild": {
+ "value": ""
+ },
+ "ROOTFS_DIR": {
+ "value": "/crossrootfs/$(Architecture)"
+ },
+ "DockerVolumeName": {
+ "value": "coreclr-cross-$(Build.BuildId)"
+ },
+ "DockerCommonRunArgs": {
+ "value": "--name $(DockerContainerName) -v \"$(DockerVolumeName):$(GitHubDirectory)\" -w=\"$(GitHubDirectory)\" $(DockerImageName)"
+ },
+ "PB_CleanAgent": {
+ "value": "true"
+ }
+ },
+ "demands": [
+ "Agent.OS -equals linux"
+ ],
+ "retentionRules": [
+ {
+ "branches": [
+ "+refs/heads/*"
+ ],
+ "artifacts": [],
+ "artifactTypesToDelete": [
+ "FilePath",
+ "SymbolStore"
+ ],
+ "daysToKeep": 10,
+ "minimumToKeep": 1,
+ "deleteBuildRecord": true,
+ "deleteTestResults": true
+ }
+ ],
+ "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)-$(DockerTag)$(portableBuild)",
+ "jobAuthorizationScope": "projectCollection",
+ "jobTimeoutInMinutes": 90,
+ "repository": {
+ "properties": {
+ "labelSources": "0",
+ "reportBuildStatus": "true",
+ "fetchDepth": "0",
+ "gitLfsSupport": "false",
+ "skipSyncSource": "false",
+ "cleanOptions": "0"
+ },
+ "id": "670e3783-ab4f-44fc-9786-d332007da311",
+ "type": "TfsGit",
+ "name": "DotNet-CoreCLR-Trusted",
+ "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
+ "defaultBranch": "refs/heads/master",
+ "clean": "true",
+ "checkoutSubmodules": false
+ },
+ "processParameters": {},
+ "quality": "definition",
+ "queue": {
+ "pool": {
+ "id": 39,
+ "name": "DotNet-Build"
+ },
+ "id": 36,
+ "name": "DotNet-Build"
+ },
+ "path": "\\",
+ "type": "build",
+ "id": 5019,
+ "name": "DotNet-CoreClr-Trusted-Linux-Crossbuild",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/5019",
+ "project": {
+ "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "name": "DevDiv",
+ "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. ",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "state": "wellFormed",
+ "revision": 418097633
+ }
+} \ No newline at end of file
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Linux.json b/buildpipeline/DotNet-CoreClr-Trusted-Linux.json
new file mode 100644
index 0000000000..0efb91a6e6
--- /dev/null
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Linux.json
@@ -0,0 +1,457 @@
+{
+ "build": [
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Initialize tools",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/init-tools.sh",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Initialize Docker",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/Tools/scripts/docker/init-docker.sh",
+ "arguments": "$(DockerImageName)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Clone repository",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) git clone $(GitHubRepo) $(GitHubDirectory)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run clean.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./clean.sh",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Check out the specified commit",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) git checkout $(Build.SourceVersion)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run sync.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./sync.sh",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./build.sh $(PB_BuildType) $(Architecture) $(portableBuild) skipnuget -skiprestore stripSymbols -OfficialBuildId=$(OfficialBuildId) -- /p:\"ConfigurationGroup=\"Release\" /flp:\"v=diag\"",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build-packages.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./build-packages.sh $(portableBuild) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run publish-packages.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run --rm $(DockerCommonRunArgs) ./publish-packages.sh -AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Platform) -Container=$(Label) -distroRid=$(Rid) -- /p:OverwriteOnPublish=true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Create Copy Container",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "run $(DockerCommonRunArgs) echo",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Expose Docker repo for publishing",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "cp $(DockerContainerName):$(GitHubDirectory) $(DockerCopyDest)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: BuildLogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "$(DockerCopyDest)",
+ "Contents": "**/*.log",
+ "ArtifactName": "BuildLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Cleanup Docker",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/Tools/scripts/docker/cleanup-docker.sh",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Cleanup Docker Volume",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "docker",
+ "arguments": "volume rm $(DockerVolumeName)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Cleanup VSTS Agent",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Build.SourcesDirectory)/Tools/msbuild.sh",
+ "arguments": "cleanupagent.proj /p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
+ "workingFolder": "$(Build.SourcesDirectory)/Tools/scripts/vstsagent/",
+ "failOnStandardError": "false"
+ }
+ }
+ ],
+ "options": [
+ {
+ "enabled": false,
+ "definition": {
+ "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
+ },
+ "inputs": {
+ "multipliers": "[]",
+ "parallel": "false",
+ "continueOnError": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+ },
+ "inputs": {
+ "workItemType": "234347",
+ "assignToRequestor": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ }
+ ],
+ "variables": {
+ "system.debug": {
+ "value": "false",
+ "allowOverride": true
+ },
+ "Platform": {
+ "value": "x64"
+ },
+ "PB_BuildType": {
+ "value": "Release"
+ },
+ "GitHubRepo": {
+ "value": "http://github.com/dotnet/coreclr.git"
+ },
+ "GitHubDirectory": {
+ "value": "/root/coreclr"
+ },
+ "DockerContainerName": {
+ "value": "coreclr-$(Build.BuildId)"
+ },
+ "DockerImageName": {
+ "value": "$(DockerRepository):$(DockerTag)"
+ },
+ "DockerRepository": {
+ "value": "microsoft/dotnet-buildtools-prereqs"
+ },
+ "DockerTag": {
+ "value": "debian82_prereqs_2",
+ "allowOverride": true
+ },
+ "CloudDropAccountName": {
+ "value": "dotnetbuildoutput"
+ },
+ "CloudDropAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "OfficialBuildId": {
+ "value": "$(Build.BuildNumber)",
+ "allowOverride": true
+ },
+ "Label": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "GitHubBranch": {
+ "value": "sni_plus_latestbuildtools"
+ },
+ "Priority": {
+ "value": "0"
+ },
+ "RepoAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "Architecture": {
+ "value": "x64"
+ },
+ "CommitToCheckout": {
+ "value": "HEAD",
+ "allowOverride": true
+ },
+ "portableBuild": {
+ "value": ""
+ },
+ "DockerVolumeName": {
+ "value": "coreclr-$(Build.BuildId)"
+ },
+ "DockerCommonRunArgs": {
+ "value": "--name $(DockerContainerName) -v \"$(DockerVolumeName):$(GitHubDirectory)\" -w=\"$(GitHubDirectory)\" $(DockerImageName)"
+ },
+ "DockerCopyDest": {
+ "value": "$(Build.BinariesDirectory)/docker_repo"
+ },
+ "PB_CleanAgent": {
+ "value": "true"
+ }
+ },
+ "demands": [
+ "Agent.OS -equals linux"
+ ],
+ "retentionRules": [
+ {
+ "branches": [
+ "+refs/heads/*"
+ ],
+ "artifacts": [],
+ "artifactTypesToDelete": [
+ "FilePath",
+ "SymbolStore"
+ ],
+ "daysToKeep": 10,
+ "minimumToKeep": 1,
+ "deleteBuildRecord": true,
+ "deleteTestResults": true
+ }
+ ],
+ "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)-$(DockerTag)$(portableBuild)",
+ "jobAuthorizationScope": "projectCollection",
+ "jobTimeoutInMinutes": 90,
+ "repository": {
+ "properties": {
+ "labelSources": "0",
+ "reportBuildStatus": "true",
+ "fetchDepth": "0",
+ "gitLfsSupport": "false",
+ "skipSyncSource": "false",
+ "cleanOptions": "1"
+ },
+ "id": "670e3783-ab4f-44fc-9786-d332007da311",
+ "type": "TfsGit",
+ "name": "DotNet-CoreCLR-Trusted",
+ "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
+ "defaultBranch": "refs/heads/master",
+ "clean": "true",
+ "checkoutSubmodules": false
+ },
+ "processParameters": {},
+ "quality": "definition",
+ "queue": {
+ "pool": {
+ "id": 39,
+ "name": "DotNet-Build"
+ },
+ "id": 36,
+ "name": "DotNet-Build"
+ },
+ "path": "\\",
+ "type": "build",
+ "id": 1713,
+ "name": "DotNet-CoreClr-Trusted-Linux",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/1713",
+ "project": {
+ "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "name": "DevDiv",
+ "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. ",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "state": "wellFormed",
+ "revision": 418097633
+ }
+} \ No newline at end of file
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Mac.json b/buildpipeline/DotNet-CoreClr-Trusted-Mac.json
new file mode 100644
index 0000000000..5a441452d7
--- /dev/null
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Mac.json
@@ -0,0 +1,245 @@
+{
+ "build": [
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run $(Agent.BuildDirectory)/s/clean.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Agent.BuildDirectory)/s/clean.sh",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run $(Agent.BuildDirectory)/s/sync.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Agent.BuildDirectory)/s/sync.sh",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run $(Agent.BuildDirectory)/s/build.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Agent.BuildDirectory)/s/build.sh",
+ "arguments": "$(PB_BuildType) $(Architecture) $(portableBuild) skipnuget -skiprestore stripSymbols -OfficialBuildId=$(OfficialBuildId) -- /p:\"ConfigurationGroup=Release\"",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run $(Agent.BuildDirectory)/s/build-packages.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Agent.BuildDirectory)/s/build-packages.sh",
+ "arguments": "-BuildType=$(PB_BuildType) -BuildArch=$(Architecture) $(portableBuild)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run $(Agent.BuildDirectory)/s/publish-packages.sh",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(Agent.BuildDirectory)/s/publish-packages.sh",
+ "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(Label) -distroRid=$(Rid) -- /p:OverwriteOnPublish=true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: BuildLogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "",
+ "Contents": "*.log",
+ "ArtifactName": "BuildLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ }
+ ],
+ "options": [
+ {
+ "enabled": false,
+ "definition": {
+ "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
+ },
+ "inputs": {
+ "multipliers": "[]",
+ "parallel": "false",
+ "continueOnError": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+ },
+ "inputs": {
+ "workItemType": "234347",
+ "assignToRequestor": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ }
+ ],
+ "variables": {
+ "system.debug": {
+ "value": "false",
+ "allowOverride": true
+ },
+ "PB_BuildType": {
+ "value": "Release"
+ },
+ "Architecture": {
+ "value": "x64"
+ },
+ "CloudDropAccountName": {
+ "value": "dotnetbuildoutput"
+ },
+ "CloudDropAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "OfficialBuildId": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "Label": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "portableBuild": {
+ "value": ""
+ }
+ },
+ "demands": [
+ "Configuration -equals VSTSAgent_Mac_v3.0.0"
+ ],
+ "retentionRules": [
+ {
+ "branches": [
+ "+refs/heads/*"
+ ],
+ "artifacts": [],
+ "artifactTypesToDelete": [
+ "FilePath",
+ "SymbolStore"
+ ],
+ "daysToKeep": 10,
+ "minimumToKeep": 1,
+ "deleteBuildRecord": true,
+ "deleteTestResults": true
+ }
+ ],
+ "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
+ "jobAuthorizationScope": "projectCollection",
+ "jobTimeoutInMinutes": 60,
+ "repository": {
+ "properties": {
+ "labelSources": "0",
+ "reportBuildStatus": "true",
+ "fetchDepth": "0",
+ "gitLfsSupport": "false",
+ "skipSyncSource": "false",
+ "cleanOptions": "0"
+ },
+ "id": "670e3783-ab4f-44fc-9786-d332007da311",
+ "type": "TfsGit",
+ "name": "DotNet-CoreCLR-Trusted",
+ "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
+ "defaultBranch": "refs/heads/master",
+ "clean": "true",
+ "checkoutSubmodules": false
+ },
+ "quality": "definition",
+ "queue": {
+ "pool": {
+ "id": 97,
+ "name": "DotNetCore-Build"
+ },
+ "id": 330,
+ "name": "DotNetCore-Build"
+ },
+ "path": "\\",
+ "type": "build",
+ "id": 1680,
+ "name": "DotNet-CoreClr-Trusted-Mac",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/1680",
+ "project": {
+ "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "name": "DevDiv",
+ "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. ",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "state": "wellFormed",
+ "revision": 418097633
+ }
+} \ No newline at end of file
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json b/buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json
new file mode 100644
index 0000000000..9b24cc23a9
--- /dev/null
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json
@@ -0,0 +1,472 @@
+{
+ "build": [
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Install Signing Plugin",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "30666190-6959-11e5-9f96-f56098202fef",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "signType": "$(SignType)",
+ "zipSources": "false",
+ "version": "",
+ "feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "arguments": "",
+ "modifyEnvironment": "true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Run rd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "rd",
+ "arguments": "/S /Q jit32",
+ "workingFolder": "src",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run md",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "md",
+ "arguments": "jit32",
+ "workingFolder": "src",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run git",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "git",
+ "arguments": "clone -b $(Jit32Branch) $(Jit32Repo) jit32",
+ "workingFolder": "src",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Run rd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "rd",
+ "arguments": "/S /Q jit32\\.git",
+ "workingFolder": "src",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run clean.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "clean.cmd",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run sync.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "sync.cmd",
+ "arguments": "-p",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "build.cmd",
+ "arguments": "$(Architecture) $(PB_BuildType) skiptests skipbuildpackages buildjit32 -OfficialBuildId=$(OfficialBuildId) -skiprestore -Priority=$(Priority) $(portableBuild) -- /p:\"ConfigurationGroup=Release\"",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Sign binaries",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "solution": "src\\sign.builds",
+ "platform": "",
+ "configuration": "",
+ "msbuildArguments": "/p:SignType=$(SignType) /p:BuildType=$(PB_BuildType) /p:BuildArch=$(Architecture)",
+ "clean": "false",
+ "maximumCpuCount": "false",
+ "restoreNugetPackages": "false",
+ "logProjectEvents": "false",
+ "createLogFile": "false",
+ "msbuildLocationMethod": "version",
+ "msbuildVersion": "14.0",
+ "msbuildArchitecture": "x86",
+ "msbuildLocation": ""
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build-packages.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "build-packages.cmd",
+ "arguments": "-BuildArch=$(Architecture) -BuildType=$(PB_BuildType) $(portableBuild) -ExtraParameters=/p:PackageCompatJit=1",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run publish-packages.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "publish-packages.cmd",
+ "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildArch=$(Architecture) -BuildType=$(PB_BuildType) -- /p:ContainerName=$(Label) /p:OverwriteOnPublish=true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Publish symbols path: \\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "0675668a-7bba-4ccb-901d-5ad6554ca653",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "SymbolsPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols",
+ "SearchPattern": "bin\\Product\\*$(Architecture).$(PB_BuildType)\\**\\PDB\\*.pdb",
+ "SymbolsFolder": "",
+ "SkipIndexing": "false",
+ "TreatNotIndexedAsWarning": "false",
+ "SymbolsMaximumWaitTime": "",
+ "SymbolsProduct": "",
+ "SymbolsVersion": "",
+ "SymbolsArtifactName": "Symbols_$(BuildConfiguration)"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Index Symbols on Symweb",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "af503aa3-9d06-44b6-a549-d063a544a5c5",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "symbolStore": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols",
+ "contacts": "mawilkie",
+ "project": "DDE"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": true,
+ "displayName": "Perform Cleanup Tasks",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "521a94ea-9e68-468a-8167-6dcf361ea776",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {}
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: BuildLogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "",
+ "Contents": "*.log",
+ "ArtifactName": "BuildLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Copy Publish Artifact: symbols",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "",
+ "Contents": "bin\\Product\\*$(Architecture).$(PB_BuildType)\\*.dll\nbin\\Product\\*$(Architecture).$(PB_BuildType)\\PDB\\*.pdb",
+ "ArtifactName": "symbols",
+ "ArtifactType": "FilePath",
+ "TargetPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\FullSymbols"
+ }
+ }
+ ],
+ "options": [
+ {
+ "enabled": false,
+ "definition": {
+ "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
+ },
+ "inputs": {
+ "multipliers": "[]",
+ "parallel": "false",
+ "continueOnError": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+ },
+ "inputs": {
+ "workItemType": "234347",
+ "assignToRequestor": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ }
+ ],
+ "variables": {
+ "system.debug": {
+ "value": "false",
+ "allowOverride": true
+ },
+ "PB_BuildType": {
+ "value": "Release"
+ },
+ "Architecture": {
+ "value": "x86"
+ },
+ "Priority": {
+ "value": "0"
+ },
+ "CloudDropAccountName": {
+ "value": "dotnetbuildoutput"
+ },
+ "CloudDropAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "OfficialBuildId": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "Label": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "SignType": {
+ "value": "test"
+ },
+ "TeamName": {
+ "value": "DotNetCore"
+ },
+ "Jit32Repo": {
+ "value": "https://$(VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DefaultCollection/DevDiv/_git/DotNet-JIT32-Internal"
+ },
+ "Jit32Branch": {
+ "value": "master"
+ },
+ "VsoAccountName": {
+ "value": "dn-bot"
+ },
+ "VsoPassword": {
+ "value": null,
+ "isSecret": true
+ },
+ "portableBuild": {
+ "value": ""
+ }
+ },
+ "retentionRules": [
+ {
+ "branches": [
+ "+refs/heads/*"
+ ],
+ "artifacts": [],
+ "artifactTypesToDelete": [
+ "FilePath",
+ "SymbolStore"
+ ],
+ "daysToKeep": 10,
+ "minimumToKeep": 1,
+ "deleteBuildRecord": true,
+ "deleteTestResults": true
+ }
+ ],
+ "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
+ "jobAuthorizationScope": "projectCollection",
+ "jobTimeoutInMinutes": 180,
+ "repository": {
+ "properties": {
+ "labelSources": "0",
+ "reportBuildStatus": "true",
+ "fetchDepth": "0",
+ "gitLfsSupport": "false",
+ "skipSyncSource": "false",
+ "cleanOptions": "0"
+ },
+ "id": "670e3783-ab4f-44fc-9786-d332007da311",
+ "type": "TfsGit",
+ "name": "DotNet-CoreCLR-Trusted",
+ "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
+ "defaultBranch": "refs/heads/master",
+ "clean": "true",
+ "checkoutSubmodules": false
+ },
+ "quality": "definition",
+ "queue": {
+ "pool": {
+ "id": 39,
+ "name": "DotNet-Build"
+ },
+ "id": 36,
+ "name": "DotNet-Build"
+ },
+ "path": "\\",
+ "type": "build",
+ "id": 1828,
+ "name": "DotNet-CoreClr-Trusted-Windows-x86",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/1828",
+ "project": {
+ "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "name": "DevDiv",
+ "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. ",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "state": "wellFormed",
+ "revision": 418097633
+ }
+}
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Windows.json b/buildpipeline/DotNet-CoreClr-Trusted-Windows.json
new file mode 100644
index 0000000000..457fe36861
--- /dev/null
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Windows.json
@@ -0,0 +1,390 @@
+{
+ "build": [
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Install Signing Plugin",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "30666190-6959-11e5-9f96-f56098202fef",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "signType": "$(SignType)",
+ "zipSources": "false",
+ "version": "",
+ "feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "arguments": "",
+ "modifyEnvironment": "true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run clean.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "clean.cmd",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run sync.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "sync.cmd",
+ "arguments": "-p",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "build.cmd",
+ "arguments": "$(Architecture) $(PB_BuildType) skiptests skipbuildpackages toolset_dir C:\\tools\\clr -OfficialBuildId=$(OfficialBuildId) -Priority=$(Priority) -skiprestore -disableoss $(portableBuild) -- /p:\"ConfigurationGroup=Release\" /flp:\"v=diag\"",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Sign binaries",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "solution": "src\\sign.builds",
+ "platform": "",
+ "configuration": "",
+ "msbuildArguments": "/p:SignType=$(SignType) /p:BuildType=$(PB_BuildType) /p:BuildArch=$(Architecture)",
+ "clean": "false",
+ "maximumCpuCount": "false",
+ "restoreNugetPackages": "false",
+ "logProjectEvents": "false",
+ "createLogFile": "false",
+ "msbuildLocationMethod": "version",
+ "msbuildVersion": "14.0",
+ "msbuildArchitecture": "x86",
+ "msbuildLocation": ""
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build-packages.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "build-packages.cmd",
+ "arguments": "-BuildArch=$(Architecture) -BuildType=$(PB_BuildType) $(portableBuild)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run publish-packages.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "publish-packages.cmd",
+ "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildArch=$(Architecture) -BuildType=$(PB_BuildType) -- /p:ContainerName=$(Label) /p:OverwriteOnPublish=true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Publish symbols path: \\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "0675668a-7bba-4ccb-901d-5ad6554ca653",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "SymbolsPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols",
+ "SearchPattern": "bin\\Product\\*$(Architecture).$(PB_BuildType)\\**\\PDB\\*.pdb",
+ "SymbolsFolder": "",
+ "SkipIndexing": "false",
+ "TreatNotIndexedAsWarning": "false",
+ "SymbolsMaximumWaitTime": "",
+ "SymbolsProduct": "",
+ "SymbolsVersion": "",
+ "SymbolsArtifactName": "Symbols_$(BuildConfiguration)"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Index Symbols on Symweb",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "af503aa3-9d06-44b6-a549-d063a544a5c5",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "symbolStore": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols",
+ "contacts": "mawilkie",
+ "project": "DDE"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": true,
+ "displayName": "Perform Cleanup Tasks",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "521a94ea-9e68-468a-8167-6dcf361ea776",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {}
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: BuildLogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "",
+ "Contents": "**\\*.log",
+ "ArtifactName": "BuildLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Copy Publish Artifact: symbols",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "",
+ "Contents": "bin\\Product\\*$(Architecture).$(PB_BuildType)\\*.dll\nbin\\Product\\*$(Architecture).$(PB_BuildType)\\PDB\\*.pdb",
+ "ArtifactName": "symbols",
+ "ArtifactType": "FilePath",
+ "TargetPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\FullSymbols"
+ }
+ }
+ ],
+ "options": [
+ {
+ "enabled": false,
+ "definition": {
+ "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
+ },
+ "inputs": {
+ "multipliers": "[]",
+ "parallel": "false",
+ "continueOnError": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+ },
+ "inputs": {
+ "workItemType": "234347",
+ "assignToRequestor": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ }
+ ],
+ "variables": {
+ "system.debug": {
+ "value": "false",
+ "allowOverride": true
+ },
+ "PB_BuildType": {
+ "value": "Release",
+ "allowOverride": true
+ },
+ "Architecture": {
+ "value": "x64",
+ "allowOverride": true
+ },
+ "Priority": {
+ "value": "0"
+ },
+ "CloudDropAccountName": {
+ "value": "dotnetbuildoutput"
+ },
+ "CloudDropAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "OfficialBuildId": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "Label": {
+ "value": "$(Build.BuildNumber)"
+ },
+ "SignType": {
+ "value": "test",
+ "allowOverride": true
+ },
+ "TeamName": {
+ "value": "DotNetCore"
+ },
+ "portableBuild": {
+ "value": ""
+ }
+ },
+ "retentionRules": [
+ {
+ "branches": [
+ "+refs/heads/*"
+ ],
+ "artifacts": [],
+ "artifactTypesToDelete": [
+ "FilePath",
+ "SymbolStore"
+ ],
+ "daysToKeep": 10,
+ "minimumToKeep": 1,
+ "deleteBuildRecord": true,
+ "deleteTestResults": true
+ }
+ ],
+ "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)-$(Architecture)",
+ "jobAuthorizationScope": "projectCollection",
+ "jobTimeoutInMinutes": 180,
+ "repository": {
+ "properties": {
+ "labelSources": "0",
+ "reportBuildStatus": "true",
+ "fetchDepth": "0",
+ "gitLfsSupport": "false",
+ "skipSyncSource": "false",
+ "cleanOptions": "0"
+ },
+ "id": "670e3783-ab4f-44fc-9786-d332007da311",
+ "type": "TfsGit",
+ "name": "DotNet-CoreCLR-Trusted",
+ "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
+ "defaultBranch": "refs/heads/master",
+ "clean": "false",
+ "checkoutSubmodules": false
+ },
+ "quality": "definition",
+ "queue": {
+ "pool": {
+ "id": 39,
+ "name": "DotNet-Build"
+ },
+ "id": 36,
+ "name": "DotNet-Build"
+ },
+ "path": "\\",
+ "type": "build",
+ "id": 1676,
+ "name": "DotNet-CoreClr-Trusted-Windows",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/1676",
+ "project": {
+ "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "name": "DevDiv",
+ "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. ",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "state": "wellFormed",
+ "revision": 418097633
+ }
+} \ No newline at end of file
diff --git a/buildpipeline/DotNet-Trusted-Publish.json b/buildpipeline/DotNet-Trusted-Publish.json
new file mode 100644
index 0000000000..80e9f65b7e
--- /dev/null
+++ b/buildpipeline/DotNet-Trusted-Publish.json
@@ -0,0 +1,590 @@
+{
+ "build": [
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "arguments": "",
+ "modifyEnvironment": "true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Fetch custom tooling (NuGet, EmbedIndex)",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "filePath",
+ "scriptName": "scripts/DotNet-Trusted-Publish/Fetch-Tools.ps1",
+ "arguments": "$(Build.StagingDirectory)\\ToolingDownload",
+ "inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Set up pipeline-specific git repository",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "-gitUrl $(VstsRepoGitUrl) -root $(Pipeline.SourcesDirectory)",
+ "inlineScript": "param($gitUrl, $root)\n\nif (Test-Path $root)\n{\n Remove-Item -Recurse -Force $root\n}\ngit clone $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\")",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "sync -ab",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "$(CloudDropAccountName) $(CloudDropAccessToken) $(Label)",
+ "inlineScript": "param($account, $token, $container)\nif ($env:UseLegacyBuildScripts -eq \"true\")\n{\n .\\sync.cmd /ab /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container\n}\nelse\n{\n# .\\sync.cmd -ab \"-AzureAccount=$account\" \"-AzureToken=$token\" \"-Container=$container\"\n .\\init-tools.cmd\n msbuild src\\syncAzure.proj /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container\n}",
+ "workingFolder": "$(Pipeline.SourcesDirectory)",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Index symbol packages",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "",
+ "inlineScript": "if ($env:ConfigurationGroup -ne \"Release\") { exit }\n\n& $env:Build_SourcesDirectory\\scripts\\DotNet-Trusted-Publish\\Embed-Index.ps1 `\n $env:Pipeline_SourcesDirectory\\packages\\AzureTransfer\\$env:ConfigurationGroup\\$env:AzureContainerSymbolPackageGlob `\n $env:Build_StagingDirectory\\IndexedSymbolPackages",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Generate Version Assets",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "",
+ "inlineScript": "#if ($env:UseLegacyBuildScripts -eq \"true\")\n#{\n msbuild build.proj /t:CreateOrUpdateCurrentVersionFile /p:OfficialBuildId=$env:OfficialBuildId /p:BuildVersionFile=bin\\obj\\BuildVersion-$env:OfficialBuildId.props\n#}\n#else\n#{\n# .\\build-managed.cmd -GenerateVersion \"-OfficialBuildId=$env:OfficialBuildId\"\n#}",
+ "workingFolder": "$(Pipeline.SourcesDirectory)",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Log Native Version Assets Files",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "dir",
+ "arguments": "$(Pipeline.SourcesDirectory)\\bin\\obj\\BuildVersion*",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "packages -> dotnet.myget.org",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "$(MyGetApiKey) $(ConfigurationGroup)",
+ "inlineScript": "param($ApiKey, $ConfigurationGroup)\nif ($ConfigurationGroup -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $env:Pipeline_SourcesDirectory\\packages\\AzureTransfer\\$env:ConfigurationGroup\\$env:AzureContainerPackageGlob $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "symbol packages -> dotnet.myget.org",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "$(MyGetApiKey) $(ConfigurationGroup)",
+ "inlineScript": "param($ApiKey, $ConfigurationGroup)\nif ($ConfigurationGroup -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $env:Build_StagingDirectory\\IndexedSymbolPackages\\*.nupkg $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Create VSTS auth NuGet.Config",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "$(VstsAuthedNuGetConfigPath) $(VstsFeedUrl) $(VstsPat)",
+ "inlineScript": "param($path, $url, $pat)\n\nSet-Content $path @\"\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<configuration>\n <packageSources>\n <add key=\"vsts-dotnet-core\" value=\"$url\" />\n </packageSources>\n <packageSourceCredentials>\n <vsts-dotnet-core>\n <add key=\"Username\" value=\"VssSessionToken\" />\n <add key=\"ClearTextPassword\" value=\"$pat\" />\n </vsts-dotnet-core>\n </packageSourceCredentials>\n</configuration>\n\"@",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": false,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "packages -> VSTS",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "",
+ "inlineScript": "if ($env:ConfigurationGroup -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $env:Pipeline.SourcesDirectory\\packages\\AzureTransfer\\$env:ConfigurationGroup\\$env:AzureContainerPackageGlob placeholderapikey -Source vsts-dotnet-core -ConfigFile $env:VstsAuthedNuGetConfigPath -Timeout 3600",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Update versions repository",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "-gitHubAuthToken $(UpdatePublishedVersions.AuthToken) -root $(Pipeline.SourcesDirectory) -configGroup $(ConfigurationGroup)",
+ "inlineScript": "param($gitHubAuthToken, $root, $configGroup)\nif ($configGroup -ne \"Release\") { exit }\ncd $root\n. $root\\UpdatePublishedVersions.ps1 `\n -gitHubUser dotnet-build-bot -gitHubEmail dotnet-build-bot@microsoft.com `\n -gitHubAuthToken $gitHubAuthToken `\n -versionsRepoOwner $env:VersionsRepoOwner -versionsRepo versions `\n -versionsRepoPath build-info/dotnet/$env:GitHubRepositoryName/$env:SourceBranch `\n -nupkgPath $root\\packages\\AzureTransfer\\$env:ConfigurationGroup\\$env:AzureContainerPackageGlob",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Get Build Number",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "scriptType": "inlineScript",
+ "scriptName": "",
+ "arguments": "$(OfficialBuildId) $(Pipeline.SourcesDirectory)",
+ "inlineScript": "param(\n [string]$OfficialBuildId,\n [string]$SourcesDir\n)\n$VersionPropsFile=$SourcesDir + \"\\bin\\obj\\BuildVersion-\" + $OfficialBuildId + \".props\"\n[xml]$versionXml=Get-Content $VersionPropsFile\n$env:BuildNumber=$versionXml.Project.PropertyGroup.BuildNumberMajor.InnerText + \".\" + $versionXml.Project.PropertyGroup.BuildNumberMinor.InnerText\nWrite-Host (\"##vso[task.setvariable variable=BuildNumber;]$env:BuildNumber\")",
+ "workingFolder": "",
+ "failOnStandardError": "true"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Publish to Artifact Services Drop (OfficialBuildId)",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "f9d96d25-0c81-4e77-8282-1ad1f785cbb4",
+ "versionSpec": "0.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "dropServiceURI": "https://devdiv.artifacts.visualstudio.com/DefaultCollection",
+ "buildNumber": "dotnet/$(GitHubRepositoryName)/$(SourceBranch)/$(OfficialBuildId)/packages/$(ConfigurationGroup)",
+ "sourcePath": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(ConfigurationGroup)",
+ "dropExePath": "",
+ "toLowerCase": "true",
+ "detailedLog": "false",
+ "usePat": "false",
+ "retentionDays": "",
+ "dropMetadataContainerName": "DropMetadata"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Publish to Artifact Services Drop (BuildNumber)",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "f9d96d25-0c81-4e77-8282-1ad1f785cbb4",
+ "versionSpec": "0.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "dropServiceURI": "https://devdiv.artifacts.visualstudio.com/DefaultCollection",
+ "buildNumber": "dotnet/$(GitHubRepositoryName)/$(SourceBranch)/$(BuildNumber)/packages/$(ConfigurationGroup)",
+ "sourcePath": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(ConfigurationGroup)",
+ "dropExePath": "",
+ "toLowerCase": "true",
+ "detailedLog": "false",
+ "usePat": "false",
+ "retentionDays": "",
+ "dropMetadataContainerName": "DropMetadata"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: PublishLogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "",
+ "Contents": "$(Pipeline.SourcesDirectory)\\*.log",
+ "ArtifactName": "PublishLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: debuggerlogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "$(Pipeline.SourcesDirectory)",
+ "Contents": "**/*.log",
+ "ArtifactName": "DebugLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ }
+ ],
+ "options": [
+ {
+ "enabled": false,
+ "definition": {
+ "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
+ },
+ "inputs": {
+ "multipliers": "[]",
+ "parallel": "false",
+ "continueOnError": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+ },
+ "inputs": {
+ "workItemType": "234347",
+ "assignToRequestor": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ }
+ ],
+ "variables": {
+ "system.debug": {
+ "value": "false",
+ "allowOverride": true
+ },
+ "ConfigurationGroup": {
+ "value": "$(PB_BuildType)",
+ "allowOverride": true
+ },
+ "TeamName": {
+ "value": "DotNetCore"
+ },
+ "CloudDropAccountName": {
+ "value": "dotnetbuildoutput",
+ "allowOverride": true
+ },
+ "CloudDropAccessToken": {
+ "value": null,
+ "allowOverride": true,
+ "isSecret": true
+ },
+ "OfficialBuildId": {
+ "value": "$(Build.BuildNumber)",
+ "allowOverride": true
+ },
+ "Label": {
+ "value": "$(Build.BuildNumber)",
+ "allowOverride": true
+ },
+ "MyGetFeedUrl": {
+ "value": "https://dotnet.myget.org/F/dotnet-core-test/api/v2/package",
+ "allowOverride": true
+ },
+ "MyGetApiKey": {
+ "value": null,
+ "allowOverride": true,
+ "isSecret": true
+ },
+ "VstsFeedUrl": {
+ "value": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/dotnet-core-test/nuget/v3/index.json",
+ "allowOverride": true
+ },
+ "VstsPat": {
+ "value": null,
+ "allowOverride": true,
+ "isSecret": true
+ },
+ "VstsAuthedNuGetConfigPath": {
+ "value": "$(Build.StagingDirectory)\\VstsAuthed.NuGet.Config"
+ },
+ "UpdatePublishedVersions.AuthToken": {
+ "value": null,
+ "allowOverride": true,
+ "isSecret": true
+ },
+ "VersionsRepoOwner": {
+ "value": "dagood",
+ "allowOverride": true
+ },
+ "BuildConfiguration": {
+ "value": "release"
+ },
+ "BuildPlatform": {
+ "value": "any cpu"
+ },
+ "ReleaseBaseUrl": {
+ "value": "https://devdiv.vsrm.visualstudio.com/DefaultCollection",
+ "allowOverride": true
+ },
+ "ReleaseProjectName": {
+ "value": "DevDiv",
+ "allowOverride": true
+ },
+ "ReleaseDefinitionId": {
+ "value": "40",
+ "allowOverride": true
+ },
+ "ManualReleaseName": {
+ "value": ""
+ },
+ "OfficialBuild": {
+ "value": "fake-test"
+ },
+ "BranchGroup": {
+ "value": ""
+ },
+ "SymbolRoot": {
+ "value": "\\\\fake\\symbol\\root"
+ },
+ "DefinitionNames": {
+ "value": "Fake-Windows Fake-Windows-Native"
+ },
+ "CreateRequestContacts": {
+ "value": "a b c"
+ },
+ "VstsReleaseAccessToken": {
+ "value": null,
+ "allowOverride": true,
+ "isSecret": true
+ },
+ "Pipeline.SourcesDirectory": {
+ "value": "$(Build.BinariesDirectory)\\pipelineRepository"
+ },
+ "VstsAccountName": {
+ "value": "dagood",
+ "allowOverride": true
+ },
+ "VstsRepositoryName": {
+ "value": "DotNet-CoreFX-Trusted",
+ "allowOverride": true
+ },
+ "VstsRepoGitUrl": {
+ "value": "https://$(VstsAccountName):$(VstsRepoPat)@devdiv.visualstudio.com/DevDiv/_git/$(VstsRepositoryName)/"
+ },
+ "VstsRepoPat": {
+ "value": null,
+ "allowOverride": true,
+ "isSecret": true
+ },
+ "SourceVersion": {
+ "value": "master",
+ "allowOverride": true
+ },
+ "SourceBranch": {
+ "value": "master",
+ "allowOverride": true
+ },
+ "AzureContainerPackageGlob": {
+ "value": "*.nupkg",
+ "allowOverride": true
+ },
+ "AzureContainerSymbolPackageGlob": {
+ "value": "symbols\\*.nupkg",
+ "allowOverride": true
+ },
+ "GitHubRepositoryName": {
+ "value": "corefx",
+ "allowOverride": true
+ },
+ "UseLegacyBuildScripts": {
+ "value": "false",
+ "allowOverride": true
+ }
+ },
+ "retentionRules": [
+ {
+ "branches": [
+ "+refs/heads/*"
+ ],
+ "artifacts": [],
+ "artifactTypesToDelete": [
+ "FilePath",
+ "SymbolStore"
+ ],
+ "daysToKeep": 10,
+ "minimumToKeep": 1,
+ "deleteBuildRecord": true,
+ "deleteTestResults": true
+ }
+ ],
+ "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
+ "jobAuthorizationScope": "projectCollection",
+ "jobTimeoutInMinutes": 180,
+ "repository": {
+ "properties": {
+ "labelSources": "0",
+ "reportBuildStatus": "false",
+ "fetchDepth": "0",
+ "gitLfsSupport": "false",
+ "skipSyncSource": "false",
+ "cleanOptions": "0"
+ },
+ "id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a",
+ "type": "TfsGit",
+ "name": "DotNet-BuildPipeline",
+ "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline",
+ "defaultBranch": "refs/heads/master",
+ "clean": "true",
+ "checkoutSubmodules": false
+ },
+ "quality": "definition",
+ "queue": {
+ "pool": {
+ "id": 39,
+ "name": "DotNet-Build"
+ },
+ "id": 36,
+ "name": "DotNet-Build"
+ },
+ "path": "\\",
+ "type": "build",
+ "id": 2943,
+ "name": "DotNet-Trusted-Publish",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/2943",
+ "project": {
+ "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "name": "DevDiv",
+ "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. ",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "state": "wellFormed",
+ "revision": 418097633
+ }
+} \ No newline at end of file
diff --git a/buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json b/buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json
new file mode 100644
index 0000000000..f559d86ebd
--- /dev/null
+++ b/buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json
@@ -0,0 +1,291 @@
+{
+ "build": [
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "$(VS140COMNTOOLS)\\VsDevCmd.bat",
+ "arguments": "",
+ "modifyEnvironment": "true",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run clean.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "clean.cmd",
+ "arguments": "",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Run sync.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "sync.cmd",
+ "arguments": "-n -AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(Label)-$(Rid) -RuntimeId=$(Rid)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Run build-test.cmd",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "build-test.cmd",
+ "arguments": "$(PB_BuildType) $(Architecture) buildagainstpackages $(RuntimeIDArg) -OfficialBuildId=$(OfficialBuildId) -Priority=$(Priority)",
+ "workingFolder": "",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": false,
+ "displayName": "Send job to Helix",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "filename": "msbuild",
+ "arguments": "helixpublish.proj /p:CloudDropAccessToken=$(CloudDropAccessToken) /p:CloudDropAccountName=$(CloudDropAccountName) /p:ContainerName=$(PB_ContainerName) /p:Platform=$(Architecture) /p:BuildType=$(PB_BuildType) /p:CloudResultsAccountName=$(CloudResultsAccountName) /p:CloudResultsAccessToken=$(CloudResultsAccessToken) /p:TargetsWindows=$(TargetsWindows) /p:OverwriteOnUpload=true /p:Rid=$(Rid) /p:TargetQueues=\"$(TargetQueues)\" /p:TestProduct=$(TestProduct) /p:Branch=$(HelixBranch) /p:HelixApiAccessKey=$(HelixApiAccessKey) /p:HelixApiEndpoint=$(HelixApiEndpoint) /p:FilterToOSGroup=$(FilterToOSGroup) /p:FilterToTestTFM=$(FilterToTestTFM) /p:TimeoutInSeconds=3600 /fileloggerparameters:Verbosity=diag;LogFile=helix.log",
+ "workingFolder": "tests",
+ "failOnStandardError": "false"
+ }
+ },
+ {
+ "enabled": true,
+ "continueOnError": false,
+ "alwaysRun": true,
+ "displayName": "Copy Publish Artifact: BuildLogs",
+ "timeoutInMinutes": 0,
+ "task": {
+ "id": "1d341bb0-2106-458c-8422-d00bcea6512a",
+ "versionSpec": "1.*",
+ "definitionType": "task"
+ },
+ "inputs": {
+ "CopyRoot": "",
+ "Contents": "**\\*.log",
+ "ArtifactName": "BuildLogs",
+ "ArtifactType": "Container",
+ "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
+ }
+ }
+ ],
+ "options": [
+ {
+ "enabled": false,
+ "definition": {
+ "id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
+ },
+ "inputs": {
+ "multipliers": "[]",
+ "parallel": "false",
+ "continueOnError": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+ },
+ "inputs": {
+ "workItemType": "234347",
+ "assignToRequestor": "true",
+ "additionalFields": "{}"
+ }
+ },
+ {
+ "enabled": false,
+ "definition": {
+ "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+ },
+ "inputs": {
+ "additionalFields": "{}"
+ }
+ }
+ ],
+ "variables": {
+ "system.debug": {
+ "value": "false",
+ "allowOverride": true
+ },
+ "PB_BuildType": {
+ "value": "Release",
+ "allowOverride": true
+ },
+ "Architecture": {
+ "value": "x64",
+ "allowOverride": true
+ },
+ "Priority": {
+ "value": "1"
+ },
+ "CloudDropAccountName": {
+ "value": "dotnetbuildoutput"
+ },
+ "CloudDropAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "OfficialBuildId": {
+ "value": "$(Build.BuildNumber)",
+ "allowOverride": true
+ },
+ "Label": {
+ "value": "$(Build.BuildNumber)",
+ "allowOverride": true
+ },
+ "CloudResultsAccountName": {
+ "value": "dotnetjobresults"
+ },
+ "CloudResultsAccessToken": {
+ "value": null,
+ "isSecret": true
+ },
+ "TargetsWindows": {
+ "value": "false"
+ },
+ "Rid": {
+ "value": "linux-x64"
+ },
+ "TargetQueues": {
+ "value": "debian.82.amd64,fedora.23.amd64,redhat.72.amd64,ubuntu.1404.amd64,ubuntu.1604.amd64,ubuntu.1610.amd64"
+ },
+ "TestProduct": {
+ "value": "coreclr"
+ },
+ "HelixBranch": {
+ "value": "master"
+ },
+ "HelixApiAccessKey": {
+ "value": null,
+ "isSecret": true
+ },
+ "HelixApiEndpoint": {
+ "value": "https://helix.dot.net/api/2016-09-12/jobs"
+ },
+ "FilterToOSGroup": {
+ "value": "Dummy"
+ },
+ "FilterToTestTFM": {
+ "value": "Dummy"
+ },
+ "PB_ContainerName": {
+ "value": "$(Label)-$(TestContainerSuffix)-test"
+ },
+ "TestContainerSuffix": {
+ "value": "linux"
+ },
+ "RuntimeIDArg": {
+ "value": "runtimeid linux-x64"
+ }
+ },
+ "retentionRules": [
+ {
+ "branches": [
+ "+refs/heads/*"
+ ],
+ "artifacts": [],
+ "artifactTypesToDelete": [
+ "FilePath",
+ "SymbolStore"
+ ],
+ "daysToKeep": 10,
+ "minimumToKeep": 1,
+ "deleteBuildRecord": true,
+ "deleteTestResults": true
+ }
+ ],
+ "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)-$(Rid)",
+ "jobAuthorizationScope": "projectCollection",
+ "jobTimeoutInMinutes": 180,
+ "repository": {
+ "properties": {
+ "labelSources": "0",
+ "reportBuildStatus": "true",
+ "fetchDepth": "0",
+ "gitLfsSupport": "false",
+ "skipSyncSource": "false",
+ "cleanOptions": "0"
+ },
+ "id": "670e3783-ab4f-44fc-9786-d332007da311",
+ "type": "TfsGit",
+ "name": "DotNet-CoreCLR-Trusted",
+ "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
+ "defaultBranch": "refs/heads/master",
+ "clean": "true",
+ "checkoutSubmodules": false
+ },
+ "quality": "definition",
+ "queue": {
+ "pool": {
+ "id": 39,
+ "name": "DotNet-Build"
+ },
+ "id": 36,
+ "name": "DotNet-Build"
+ },
+ "path": "\\",
+ "type": "build",
+ "id": 5159,
+ "name": "Dotnet-CoreClr-Trusted-BuildTests",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/5159",
+ "project": {
+ "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "name": "DevDiv",
+ "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. ",
+ "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+ "state": "wellFormed",
+ "revision": 418097633
+ }
+} \ No newline at end of file
diff --git a/buildpipeline/README.md b/buildpipeline/README.md
new file mode 100644
index 0000000000..ef575c8767
--- /dev/null
+++ b/buildpipeline/README.md
@@ -0,0 +1,5 @@
+These are the checked in build definitions used by BuildPipeline.
+
+You may edit build steps, variables, and other artifacts of the definition directly to modify the BuildPipeline builds.
+
+If you want to make major changes to these definitions such as adding / deleting build steps, or other major rewrites, chcosta has tools to assist with those changes and can provide guidance. It is important that we know what kinds of changes are being made to the build definitions so that we can invest in improving those experiences. \ No newline at end of file
diff --git a/buildpipeline/pipelines.json b/buildpipeline/pipelines.json
new file mode 100644
index 0000000000..a06f054c5a
--- /dev/null
+++ b/buildpipeline/pipelines.json
@@ -0,0 +1,547 @@
+{
+ "Repository": "coreclr",
+ "Definitions": {
+ "Path": ".",
+ "Type": "VSTS",
+ "BaseUrl": "https://devdiv.visualstudio.com/DefaultCollection"
+ },
+ "DefinitionGroups": [
+ {
+ "Name": "Product-Build",
+ "Definitions": [
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "debian82_prereqs_2",
+ "Rid": "debian.8"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Debian 8.2",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "rhel7_prereqs_2",
+ "Rid": "rhel.7"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "RedHat 7",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "ubuntu1404_prereqs_v3",
+ "Rid": "ubuntu.14.04"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Ubuntu 14.04",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "ubuntu1604_prereqs",
+ "Rid": "ubuntu.16.04"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Ubuntu 16.04",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "ubuntu1610_prereqs_v2",
+ "Rid": "ubuntu.16.10"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Ubuntu 16.10",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "fedora24_prereqs_v4",
+ "Rid": "fedora.24"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Fedora 24",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "opensuse421_prereqs_v3",
+ "Rid": "opensuse.42.1"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "openSUSE 42.1",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "alpine_prereqs",
+ "Rid": "alpine.3.4.3"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Alpine 3.4.3",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux",
+ "Parameters": {
+ "DockerTag": "rhel7_prereqs_2",
+ "portableBuild": "-portable",
+ "Rid": "linux"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Linux",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Mac",
+ "Parameters": {
+ "Rid": "osx.10.12"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "OSX 10.12",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Mac",
+ "Parameters": {
+ "Rid": "osx",
+ "portableBuild": "-portable"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "OSX",
+ "Type": "build/product/",
+ "SubType": "PortableBuild",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows",
+ "Parameters": {
+ "Architecture": "x64"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows",
+ "Parameters": {
+ "Architecture": "x64",
+ "portableBuild": "-portable"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "SubType" : "PortableBuild",
+ "Architecture": "x64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows",
+ "Parameters": {
+ "Architecture": "arm64"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "Architecture": "arm64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows",
+ "Parameters": {
+ "Architecture": "arm64",
+ "portableBuild": "-portable"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "SubType" : "PortableBuild",
+ "Architecture": "arm64",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows",
+ "Parameters": {
+ "Architecture": "arm"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "Architecture": "arm",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows",
+ "Parameters": {
+ "Architecture": "arm",
+ "portableBuild": "-portable"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "SubType" : "PortableBuild",
+ "Architecture": "arm",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows-x86",
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "Architecture": "x86",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Windows-x86",
+ "Parameters": {
+ "portableBuild": "-portable"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "Type": "build/product/",
+ "SubType" : "PortableBuild",
+ "Architecture": "x86",
+ "PB_BuildType": null
+ }
+ }
+ ]
+ },
+ {
+ "Name": "Linux-CrossBuild",
+ "Definitions": [
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux-Crossbuild",
+ "Parameters": {
+ "DockerTag": "ubuntu1404_cross_prereqs_v2",
+ "Architecture": "arm",
+ "Rid": "ubuntu.14.04"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Ubuntu 14.04",
+ "SubType": "CrossBuild",
+ "Type": "build/product/",
+ "Architecture": "arm",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux-Crossbuild",
+ "Parameters": {
+ "DockerTag": "ubuntu1404_cross_prereqs_v2",
+ "Architecture": "arm",
+ "portableBuild": "-portable",
+ "Rid": "ubuntu.14.04"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Linux",
+ "SubType": "PortableCrossBuild",
+ "Type": "build/product/",
+ "Architecture": "arm",
+ "PB_BuildType": null
+ }
+ },
+ {
+ "Name": "DotNet-CoreClr-Trusted-Linux-Crossbuild",
+ "Parameters": {
+ "DockerTag": "ubuntu1604_cross_prereqs_v2",
+ "Architecture": "arm",
+ "Rid": "ubuntu.16.04"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Ubuntu 16.04",
+ "SubType": "CrossBuild",
+ "Type": "build/product/",
+ "Architecture": "arm",
+ "PB_BuildType": null
+ }
+ }
+ ]
+ }
+ ],
+ "Pipelines": [
+ {
+ "Name": "Trusted-All-Release",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Release"
+ },
+ "ReportingParameters": {
+ "PB_BuildType": "Release"
+ },
+ "DefinitionGroupRefs": [
+ "Product-Build"
+ ]
+ },
+ {
+ "Name": "Trusted-All-Debug",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Debug"
+ },
+ "ReportingParameters": {
+ "PB_BuildType": "Debug"
+ },
+ "DefinitionGroupRefs": [
+ "Product-Build"
+ ]
+ },
+ {
+ "Name": "Trusted-All-Checked",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Checked"
+ },
+ "ReportingParameters": {
+ "PB_BuildType": "Checked"
+ },
+ "DefinitionGroupRefs": [
+ "Product-Build"
+ ]
+ },
+ {
+ "Name": "Trusted-Crossbuild-Release",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Release"
+ },
+ "ReportingParameters": {
+ "PB_BuildType": "Release"
+ },
+ "DefinitionGroupRefs": [
+ "Linux-CrossBuild"
+ ]
+ },
+ {
+ "Name": "Trusted-Crossbuild-Debug",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Debug"
+ },
+ "ReportingParameters": {
+ "PB_BuildType": "Debug"
+ },
+ "DefinitionGroupRefs": [
+ "Linux-CrossBuild"
+ ]
+ },
+ {
+ "Name": "Trusted-Crossbuild-Checked",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Checked"
+ },
+ "ReportingParameters": {
+ "PB_BuildType": "Checked"
+ },
+ "DefinitionGroupRefs": [
+ "Linux-CrossBuild"
+ ]
+ },
+ {
+ "Name": "Publish Packages to Feeds - Release",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Release"
+ },
+ "Definitions": [
+ {
+ "Name": "DotNet-Trusted-Publish",
+ "Parameters": {
+ "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
+ "GitHubRepositoryName": "coreclr",
+ "AzureContainerPackageGlob": "pkg\\*.nupkg",
+ "AzureContainerSymbolPackageGlob": "symbolpkg\\*.nupkg"
+ },
+ "ReportingParameters": {
+ "SubType": "Publish",
+ "Type": "build/publish/",
+ "PB_BuildType": "Release"
+ }
+ }
+ ],
+ "DependsOn": [
+ "Trusted-All-Release",
+ "Trusted-Crossbuild-Release"
+ ]
+ },
+ {
+ "Name": "Publish Packages to Drop - Debug",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Debug"
+ },
+ "Definitions": [
+ {
+ "Name": "DotNet-Trusted-Publish",
+ "Parameters": {
+ "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
+ "GitHubRepositoryName": "coreclr"
+ },
+ "ReportingParameters": {
+ "SubType": "Publish",
+ "Type": "build/publish/",
+ "PB_BuildType": "Debug"
+ }
+ }
+ ],
+ "DependsOn": [
+ "Trusted-All-Debug",
+ "Trusted-Crossbuild-Debug"
+ ]
+ },
+ {
+ "Name": "Publish Packages to Drop - Checked",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Checked"
+ },
+ "Definitions": [
+ {
+ "Name": "DotNet-Trusted-Publish",
+ "Parameters": {
+ "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
+ "GitHubRepositoryName": "coreclr"
+ },
+ "ReportingParameters": {
+ "SubType": "Publish",
+ "Type": "build/publish/",
+ "PB_BuildType": "Checked"
+ }
+ }
+ ],
+ "DependsOn": [
+ "Trusted-All-Checked",
+ "Trusted-Crossbuild-Checked"
+ ]
+ },
+ {
+ "Name": "Build And Run Tests - Release",
+ "Parameters": {
+ "TreatWarningsAsErrors": "false"
+ },
+ "BuildParameters": {
+ "PB_BuildType": "Release"
+ },
+ "Definitions": [
+ {
+ "Name": "Dotnet-CoreClr-Trusted-BuildTests",
+ "Parameters": {
+ "TargetsWindows": "true",
+ "Rid": "windows_nt-x64",
+ "TargetQueues": "windows.10.amd64",
+ "TestContainerSuffix": "windows10",
+ "RuntimeIDArg": " "
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "Windows",
+ "SubType": "Build-Tests",
+ "Type": "build/product/",
+ "PB_BuildType": "Release"
+ }
+ },
+ {
+ "Name": "Dotnet-CoreClr-Trusted-BuildTests",
+ "Parameters": {
+ "TargetsWindows": "false",
+ "Rid": "osx.10.12-x64",
+ "TargetQueues": "osx.1012.amd64",
+ "TestContainerSuffix": "osx1012",
+ "RuntimeIDArg": "runtimeid osx.10.12-x64"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "OSX",
+ "SubType": "Build-Tests",
+ "Type": "build/product/",
+ "PB_BuildType": "Release"
+ }
+ },
+ {
+ "Name": "Dotnet-CoreClr-Trusted-BuildTests",
+ "Parameters": {
+ "TargetsWindows": "false",
+ "Rid": "linux-x64",
+ "TargetQueues": "debian.82.amd64,fedora.25.amd64,redhat.72.amd64,ubuntu.1404.amd64,ubuntu.1604.amd64,ubuntu.1610.amd64",
+ "TestContainerSuffix": "linux",
+ "RuntimeIDArg": "runtimeid linux-x64"
+ },
+ "ReportingParameters": {
+ "OperatingSystem": "RedHat 7",
+ "SubType": "Build-Tests",
+ "Type": "build/product/",
+ "PB_BuildType": "Release"
+ }
+ }
+ ],
+ "DependsOn": [
+ "Trusted-All-Release"
+ ]
+ }
+ ]
+} \ No newline at end of file