You've already forked linux-packaging-mono
Imported Upstream version 5.8.0.22
Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
This commit is contained in:
parent
5f4a27cc8a
commit
7d05485754
@@ -4,7 +4,25 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Delete files from $(Build.SourcesDirectory)",
|
||||
"displayName": "Change permissions to agent folder for cleanup steps",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "sudo",
|
||||
"arguments": "chmod 777 -R .",
|
||||
"workingFolder": "$(Agent.WorkFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Delete files from $(PB_GitDirectory)",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "b7e8b412-0437-4065-9371-edc5881de25b",
|
||||
@@ -12,8 +30,8 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SourceFolder": "$(Build.SourcesDirectory)",
|
||||
"Contents": "**\n.gitignore"
|
||||
"SourceFolder": "$(PB_GitDirectory)",
|
||||
"Contents": "**\n.gitignore\n.editorconfig\n.gitattributes\n.gitmirrorall\n.git/**\n.git"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -29,7 +47,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "git",
|
||||
"arguments": "clone $(PB_VsoCorefxGitUrl) corefx",
|
||||
"arguments": "clone $(PB_VsoCorefxGitUrl) $(PB_GitDirectory)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -48,14 +66,14 @@
|
||||
"inputs": {
|
||||
"filename": "git",
|
||||
"arguments": "checkout $(SourceVersion)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/corefx",
|
||||
"workingFolder": "$(PB_GitDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Initialize tools",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
@@ -64,9 +82,9 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/init-tools.sh",
|
||||
"filename": "$(PB_GitDirectory)/init-tools.sh",
|
||||
"arguments": "",
|
||||
"workingFolder": "",
|
||||
"workingFolder": "$(PB_GitDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
@@ -82,66 +100,12 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/scripts/docker/init-docker.sh",
|
||||
"filename": "$(PB_GitDirectory)/Tools/scripts/docker/init-docker.sh",
|
||||
"arguments": "$(PB_DockerImageName)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Start detached docker container",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run --privileged -d -w $(PB_GitDirectory) --name $(PB_DockerContainerName) $(PB_DockerImageName) sleep 7200",
|
||||
"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": "exec $(PB_DockerContainerName) git clone $(PB_VsoCorefxGitUrl) $(PB_GitDirectory)",
|
||||
"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": "exec $(PB_DockerContainerName) git checkout $(SourceVersion)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
@@ -155,7 +119,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -173,7 +137,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/sync.sh -p -- /p:ArchGroup=$(PB_Architecture)",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/sync.sh -p -- /p:ArchGroup=$(PB_Architecture)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -191,7 +155,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec -e ROOTFS_DIR $(PB_DockerContainerName) $(PB_GitDirectory)/build.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)",
|
||||
"arguments": "run -e ROOTFS_DIR $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -209,59 +173,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/publish-packages.sh -AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -verbose -- /p:OverwriteOnPublish=false",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Remove old docker build logs",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "b7e8b412-0437-4065-9371-edc5881de25b",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SourceFolder": "$(PB_DockerCopyDest)",
|
||||
"Contents": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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 $(PB_DockerContainerName):$(PB_GitDirectory) $(PB_DockerCopyDest)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Remove container",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "rm -f $(PB_DockerContainerName)",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/publish-packages.sh -AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -verbose -- /p:OverwriteOnPublish=false",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -278,7 +190,7 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"CopyRoot": "$(PB_DockerCopyDest)/corefx",
|
||||
"CopyRoot": "$(PB_GitDirectory)",
|
||||
"Contents": "*.log",
|
||||
"ArtifactName": "BuildLogs",
|
||||
"ArtifactType": "Container",
|
||||
@@ -297,7 +209,7 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/scripts/docker/cleanup-docker.sh",
|
||||
"filename": "$(PB_GitDirectory)/Tools/scripts/docker/cleanup-docker.sh",
|
||||
"arguments": "",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
@@ -315,7 +227,7 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/msbuild.sh",
|
||||
"filename": "$(PB_GitDirectory)/Tools/msbuild.sh",
|
||||
"arguments": "cleanupagent.proj /p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/corefx/Tools/scripts/vstsagent/",
|
||||
"failOnStandardError": "false"
|
||||
@@ -323,6 +235,25 @@
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "5d58cc01-7c75-450c-be18-a388ddb129ec"
|
||||
},
|
||||
"inputs": {
|
||||
"branchFilters": "[\"+refs/heads/*\"]",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
|
||||
},
|
||||
"inputs": {
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
@@ -357,22 +288,40 @@
|
||||
}
|
||||
],
|
||||
"variables": {
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"GitHubBranch": {
|
||||
"value": "sni_plus_latestbuildtools"
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)"
|
||||
},
|
||||
"PB_Architecture": {
|
||||
"value": "arm"
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"value": "-BuildArch=$(PB_Architecture)"
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"PB_ConfigurationGroup": {
|
||||
"value": "Release"
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "http://github.com/dotnet/corefx.git"
|
||||
},
|
||||
"PB_GitDirectory": {
|
||||
"value": "/root/corefx"
|
||||
"PB_DockerCommonRunArgs": {
|
||||
"value": "--rm --name $(PB_DockerContainerName) -v \"$(PB_GitDirectory):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" $(PB_DockerImageName)"
|
||||
},
|
||||
"PB_DockerContainerName": {
|
||||
"value": "corefx-cross-$(Build.BuildId)"
|
||||
},
|
||||
"PB_DockerCopyDest": {
|
||||
"value": "$(Build.BinariesDirectory)/docker_repo"
|
||||
},
|
||||
"PB_DockerImageName": {
|
||||
"value": "$(PB_DockerRepository):$(PB_DockerTag)"
|
||||
},
|
||||
@@ -380,47 +329,45 @@
|
||||
"value": "microsoft/dotnet-buildtools-prereqs"
|
||||
},
|
||||
"PB_DockerTag": {
|
||||
"value": "ubuntu1404_cross_prereqs_v2",
|
||||
"value": "ubuntu-14.04-cross-0cd4667-20172211042239",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
"PB_DockerVolumeName": {
|
||||
"value": "/root/corefx-$(Build.BuildId)"
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)"
|
||||
"PB_GitDirectory": {
|
||||
"value": "$(Build.SourcesDirectory)/corefx"
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)"
|
||||
},
|
||||
"GitHubBranch": {
|
||||
"value": "sni_plus_latestbuildtools"
|
||||
"PB_VsoAccountName": {
|
||||
"value": "dn-bot"
|
||||
},
|
||||
"PB_Architecture": {
|
||||
"value": "arm"
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://$(PB_VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VsoRepositoryName)/"
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted"
|
||||
},
|
||||
"portableBuild": {
|
||||
"value": ""
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_DockerCopyDest": {
|
||||
"value": "$(Build.BinariesDirectory)/docker_repo"
|
||||
},
|
||||
"ROOTFS_DIR": {
|
||||
"value": "/crossrootfs/$(PB_Architecture)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"portableBuild": {
|
||||
"value": ""
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"VsoPassword": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -445,6 +392,7 @@
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
|
||||
"jobAuthorizationScope": "projectCollection",
|
||||
"jobTimeoutInMinutes": 90,
|
||||
"jobCancelTimeoutInMinutes": 5,
|
||||
"repository": {
|
||||
"properties": {
|
||||
"labelSources": "0",
|
||||
@@ -452,7 +400,9 @@
|
||||
"fetchDepth": "0",
|
||||
"gitLfsSupport": "false",
|
||||
"skipSyncSource": "false",
|
||||
"cleanOptions": "0"
|
||||
"cleanOptions": "0",
|
||||
"checkoutNestedSubmodules": "false",
|
||||
"labelSourcesFormat": "$(build.buildNumber)"
|
||||
},
|
||||
"id": "58fa2458-e392-4373-ba2b-dd3ef0c2d7ce",
|
||||
"type": "TfsGit",
|
||||
@@ -462,26 +412,27 @@
|
||||
"clean": "false",
|
||||
"checkoutSubmodules": false
|
||||
},
|
||||
"processParameters": {},
|
||||
"quality": "definition",
|
||||
"queue": {
|
||||
"id": 36,
|
||||
"name": "DotNet-Build",
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build"
|
||||
}
|
||||
},
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"id": 5247,
|
||||
"name": "DotNet-CoreFx-Trusted-Linux-Crossbuild",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/5247",
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"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": 418097503
|
||||
"revision": 418097767,
|
||||
"visibility": "private"
|
||||
}
|
||||
}
|
@@ -4,7 +4,25 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Delete files from $(Build.SourcesDirectory)",
|
||||
"displayName": "Change permissions to agent folder for cleanup steps",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "sudo",
|
||||
"arguments": "chmod 777 -R .",
|
||||
"workingFolder": "$(Agent.WorkFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Delete files from $(PB_GitDirectory)",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "b7e8b412-0437-4065-9371-edc5881de25b",
|
||||
@@ -12,8 +30,8 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SourceFolder": "$(Build.SourcesDirectory)",
|
||||
"Contents": "**\n.gitignore"
|
||||
"SourceFolder": "$(PB_GitDirectory)",
|
||||
"Contents": "**\n.gitignore\n.editorconfig\n.gitattributes\n.gitmirrorall\n.git/**\n.git"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -29,7 +47,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "git",
|
||||
"arguments": "clone $(PB_VsoCorefxGitUrl) corefx",
|
||||
"arguments": "clone $(PB_VsoCorefxGitUrl) $(PB_GitDirectory)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -48,14 +66,14 @@
|
||||
"inputs": {
|
||||
"filename": "git",
|
||||
"arguments": "checkout $(SourceVersion)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/corefx",
|
||||
"workingFolder": "$(PB_GitDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Initialize tools",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
@@ -64,9 +82,9 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/init-tools.sh",
|
||||
"filename": "$(PB_GitDirectory)/init-tools.sh",
|
||||
"arguments": "",
|
||||
"workingFolder": "",
|
||||
"workingFolder": "$(PB_GitDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
@@ -88,60 +106,6 @@
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Start detached docker container",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run -d -w $(PB_GitDirectory) --name $(PB_DockerContainerName) $(PB_DockerImageName) sleep 7200",
|
||||
"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": "exec $(PB_DockerContainerName) git clone $(PB_VsoCorefxGitUrl) $(PB_GitDirectory)",
|
||||
"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": "exec $(PB_DockerContainerName) git checkout $(SourceVersion)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
@@ -155,7 +119,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -173,7 +137,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/sync.sh $(PB_SyncArguments)",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/sync.sh $(PB_SyncArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -191,7 +155,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/build.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -209,7 +173,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/build-tests.sh $(PB_BuildTestsArguments)",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-tests.sh $(PB_BuildTestsArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -227,7 +191,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/upload-tests.proj $(PB_CreateHelixArguments) /p:\"CloudDropAccountName=$(PB_CloudDropAccountName)\" /p:\"CloudResultsAccountName=$(PB_CloudResultsAccountName)\" /p:\"CloudDropAccessToken=$(CloudDropAccessToken)\" /p:\"CloudResultsAccessToken=$(OutputCloudResultsAccessToken)\" /p:\"HelixApiAccessKey=$(HelixApiAccessKey)\" /p:HelixApiEndpoint=$(PB_HelixApiEndPoint) /p:\"Branch=$(SourceBranch)\" /p:TargetQueues=$(PB_TargetQueue) /p:\"OfficialBuildId=$(OfficialBuildId)\"",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/Tools/msbuild.sh $(PB_DockerVolumeName)/src/upload-tests.proj $(PB_CreateHelixArguments) /p:\"CloudDropAccountName=$(PB_CloudDropAccountName)\" /p:\"CloudResultsAccountName=$(PB_CloudResultsAccountName)\" /p:\"CloudDropAccessToken=$(CloudDropAccessToken)\" /p:\"CloudResultsAccessToken=$(PB_CloudResultsAccessToken)\" /p:\"HelixApiAccessKey=$(HelixApiAccessKey)\" /p:HelixApiEndpoint=$(PB_HelixApiEndPoint) /p:\"Branch=$(SourceBranch)\" /p:TargetQueues=$(PB_TargetQueue) /p:\"OfficialBuildId=$(OfficialBuildId)\"",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -245,59 +209,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/publish-packages.sh -AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -verbose -- /p:OverwriteOnPublish=false",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Remove old docker build logs",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "b7e8b412-0437-4065-9371-edc5881de25b",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SourceFolder": "$(PB_DockerCopyDest)",
|
||||
"Contents": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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 $(PB_DockerContainerName):$(PB_GitDirectory) $(PB_DockerCopyDest)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Remove container",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "rm -f $(PB_DockerContainerName)",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/publish-packages.sh -AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -verbose -- /p:OverwriteOnPublish=false",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -314,7 +226,7 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"CopyRoot": "$(PB_DockerCopyDest)/corefx",
|
||||
"CopyRoot": "$(PB_GitDirectory)",
|
||||
"Contents": "*.log",
|
||||
"ArtifactName": "BuildLogs",
|
||||
"ArtifactType": "Container",
|
||||
@@ -333,7 +245,7 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/scripts/docker/cleanup-docker.sh",
|
||||
"filename": "$(PB_GitDirectory)/Tools/scripts/docker/cleanup-docker.sh",
|
||||
"arguments": "",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
@@ -351,14 +263,33 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/msbuild.sh",
|
||||
"filename": "$(PB_GitDirectory)/Tools/msbuild.sh",
|
||||
"arguments": "cleanupagent.proj /p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/corefx/Tools/scripts/vstsagent/",
|
||||
"workingFolder": "$(PB_GitDirectory)/Tools/scripts/vstsagent/",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "5d58cc01-7c75-450c-be18-a388ddb129ec"
|
||||
},
|
||||
"inputs": {
|
||||
"branchFilters": "[\"+refs/heads/*\"]",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "5bc3cfb7-6b54-4a4b-b5d2-a3905949f8a6"
|
||||
},
|
||||
"inputs": {
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
@@ -393,29 +324,6 @@
|
||||
}
|
||||
],
|
||||
"variables": {
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_GitDirectory": {
|
||||
"value": "/root/corefx"
|
||||
},
|
||||
"PB_DockerContainerName": {
|
||||
"value": "corefx-$(Build.BuildId)"
|
||||
},
|
||||
"PB_DockerImageName": {
|
||||
"value": "$(PB_DockerRepository):$(PB_DockerTag)"
|
||||
},
|
||||
"PB_DockerRepository": {
|
||||
"value": "microsoft/dotnet-buildtools-prereqs"
|
||||
},
|
||||
"PB_DockerTag": {
|
||||
"value": "debian82_prereqs_2",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
@@ -424,49 +332,87 @@
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"PB_BuildArguments": {
|
||||
"value": "-buildArch=x64 -Release -stripSymbols",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"PB_BuildTestsArguments": {
|
||||
"value": "-buildArch=x64 -Release -SkipTests -Outerloop -- /p:ArchiveTests=true /p:EnableDumpling=true",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"PB_CloudResultsAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_CloudResultsAccountName": {
|
||||
"value": "dotnetjobresult"
|
||||
},
|
||||
"PB_CreateHelixArguments": {
|
||||
"value": "\"/p:ArchGroup=x64 /p:ConfigurationGroup=Release /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_DockerCommonRunArgs": {
|
||||
"value": "--rm --name $(PB_DockerContainerName) -v \"$(PB_GitDirectory):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" $(PB_DockerImageName)"
|
||||
},
|
||||
"PB_DockerContainerName": {
|
||||
"value": "corefx-$(Build.BuildId)"
|
||||
},
|
||||
"PB_DockerCopyDest": {
|
||||
"value": "$(Build.BinariesDirectory)/docker_repo"
|
||||
},
|
||||
"PB_VsoAccountName": {
|
||||
"value": "dn-bot"
|
||||
"PB_DockerImageName": {
|
||||
"value": "$(PB_DockerRepository):$(PB_DockerTag)"
|
||||
},
|
||||
"VsoPassword": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
"PB_DockerRepository": {
|
||||
"value": "microsoft/dotnet-buildtools-prereqs"
|
||||
},
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted",
|
||||
"PB_DockerTag": {
|
||||
"value": "rhel7_prereqs_2",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://github.com/dotnet/corefx"
|
||||
"PB_DockerVolumeName": {
|
||||
"value": "/root/corefx-$(Build.BuildId)"
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"value": "-buildArch=x64 -Release",
|
||||
"PB_GitDirectory": {
|
||||
"value": "$(Build.SourcesDirectory)/corefx"
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_SyncArguments": {
|
||||
"value": "-p -- /p:ArchGroup=x64",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_BuildTestsArguments": {
|
||||
"value": "-BuildArch=x64 -Release -SkipTests",
|
||||
"PB_TargetQueue": {
|
||||
"value": "Centos.73.Amd64+RedHat.72.Amd64+RedHat.73.Amd64+Debian.87.Amd64+Debian.90.Amd64+Ubuntu.1404.Amd64+Ubuntu.1604.Amd64+Ubuntu.1610.Amd64+Ubuntu.1704.Amd64+suse.422.amd64+SLES.12.Amd64+fedora.25.amd64+Fedora.26.Amd64"
|
||||
},
|
||||
"PB_VsoAccountName": {
|
||||
"value": "dn-bot"
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://$(PB_VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VsoRepositoryName)/"
|
||||
},
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted"
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CreateHelixArguments": {
|
||||
"value": "/t:CloudBuild /p:ArchGroup=x64 /p:ConfigurationGroup=Debug /p:\"EnableCloudTest=true /p:\"TestProduct=corefx /p:\"TimeoutInSeconds=1200\" /p:\"TargetOS=Linux\" /p:FilterToOSGroup=Linux",
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
"VsoPassword": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -487,9 +433,10 @@
|
||||
"deleteTestResults": true
|
||||
}
|
||||
],
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)-$(PB_DockerTag)",
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
|
||||
"jobAuthorizationScope": "projectCollection",
|
||||
"jobTimeoutInMinutes": 60,
|
||||
"jobCancelTimeoutInMinutes": 5,
|
||||
"repository": {
|
||||
"properties": {
|
||||
"labelSources": "0",
|
||||
@@ -507,25 +454,27 @@
|
||||
"clean": "false",
|
||||
"checkoutSubmodules": false
|
||||
},
|
||||
"processParameters": {},
|
||||
"quality": "definition",
|
||||
"queue": {
|
||||
"id": 36,
|
||||
"name": "DotNet-Build",
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build"
|
||||
}
|
||||
},
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"id": 5008,
|
||||
"name": "DotNet-CoreFx-Trusted-Linux",
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"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": 418097459
|
||||
"revision": 418097767,
|
||||
"visibility": "private"
|
||||
}
|
||||
}
|
@@ -15,8 +15,8 @@
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-path $(build.SourcesDirectory)\\corefx",
|
||||
"inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild -ErrorAction Ignore -Verbose\n Stop-Process -processname dotnet -ErrorAction Ignore -Verbose\n Stop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }\n",
|
||||
"workingFolder": "",
|
||||
"inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild -ErrorAction Ignore -Verbose\n Stop-Process -processname dotnet -ErrorAction Ignore -Verbose\n Stop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
@@ -177,6 +177,10 @@
|
||||
},
|
||||
"inputs": {
|
||||
"solution": "$(Build.SourcesDirectory)\\corefx\\src\\upload-tests.proj",
|
||||
"msbuildLocationMethod": "version",
|
||||
"msbuildVersion": "14.0",
|
||||
"msbuildArchitecture": "x64",
|
||||
"msbuildLocation": "",
|
||||
"platform": "",
|
||||
"configuration": "",
|
||||
"msbuildArguments": "$(PB_CreateHelixArguments) /p:\"Branch=$(SourceBranch)\" /p:\"CloudDropConnectionString=DefaultEndpointsProtocol=https;AccountName=$(PB_CloudDropAccountName);AccountKey=$(CloudDropAccessToken);EndpointSuffix=core.windows.net\" /p:\"CloudResultsConnectionString=DefaultEndpointsProtocol=https;AccountName=$(PB_CloudResultsAccountName);AccountKey=$(OutputCloudResultsAccessToken);EndpointSuffix=core.windows.net\" /p:\"HelixApiAccessKey=$(HelixApiAccessKey)\" /p:\"HelixApiEndpoint=$(PB_HelixApiEndPoint)\" /p:\"OfficialBuildId=$(OfficialBuildId)\"",
|
||||
@@ -184,11 +188,7 @@
|
||||
"maximumCpuCount": "false",
|
||||
"restoreNugetPackages": "false",
|
||||
"logProjectEvents": "false",
|
||||
"createLogFile": "false",
|
||||
"msbuildLocationMethod": "version",
|
||||
"msbuildVersion": "14.0",
|
||||
"msbuildArchitecture": "x64",
|
||||
"msbuildLocation": ""
|
||||
"createLogFile": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -212,7 +212,7 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Copy Publish Artifact: BuildLogs",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
@@ -254,7 +254,7 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Execute cleanup tasks",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
@@ -295,6 +295,10 @@
|
||||
},
|
||||
"inputs": {
|
||||
"solution": "corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj",
|
||||
"msbuildLocationMethod": "version",
|
||||
"msbuildVersion": "14.0",
|
||||
"msbuildArchitecture": "x86",
|
||||
"msbuildLocation": "",
|
||||
"platform": "",
|
||||
"configuration": "",
|
||||
"msbuildArguments": "/p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
|
||||
@@ -302,15 +306,21 @@
|
||||
"maximumCpuCount": "false",
|
||||
"restoreNugetPackages": "false",
|
||||
"logProjectEvents": "false",
|
||||
"createLogFile": "false",
|
||||
"msbuildLocationMethod": "version",
|
||||
"msbuildVersion": "14.0",
|
||||
"msbuildArchitecture": "x86",
|
||||
"msbuildLocation": ""
|
||||
"createLogFile": "false"
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "5d58cc01-7c75-450c-be18-a388ddb129ec"
|
||||
},
|
||||
"inputs": {
|
||||
"branchFilters": "[\"+refs/heads/*\"]",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
@@ -354,21 +364,6 @@
|
||||
}
|
||||
],
|
||||
"variables": {
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_ConfigurationGroup": {
|
||||
"value": "Debug",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Platform": {
|
||||
"value": "x64",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
@@ -377,48 +372,6 @@
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_VsoAccountName": {
|
||||
"value": "dn-bot"
|
||||
},
|
||||
"VsoPassword": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://github.com/dotnet/corefx"
|
||||
},
|
||||
"PB_SourceBranch": {
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Git": {
|
||||
"value": "$(ProgramFiles)\\Git\\cmd\\git.exe"
|
||||
},
|
||||
"TeamName": {
|
||||
"value": "DotNetCore"
|
||||
},
|
||||
"PB_RuntimeOS": {
|
||||
"value": "win10"
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
},
|
||||
"PB_SyncArguments": {
|
||||
"value": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"value": "-buildArch=x64 -Release -- /p:SignType=test /p:RuntimeOS=win10",
|
||||
"allowOverride": true
|
||||
@@ -427,16 +380,31 @@
|
||||
"value": "-buildArch=x64 -Release -SkipTests -- /p:RuntimeOS=win10",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"PB_ConfigurationGroup": {
|
||||
"value": "Debug",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CreateHelixArguments": {
|
||||
"value": "/t:CloudBuild /p:ArchGroup=x64 /p:ConfigurationGroup=Release /p:\"EnableCloudTest=true\" /p:\"BuildMoniker=none\" /p:\"TargetQueue=Windows.10.Amd64\" /p:\"TestProduct=corefx\" /p:\"TimeoutInSeconds=1200\" /p:\"TargetOS=Windows_NT\" /p:FilterToOSGroup=Windows_NT",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_OptionalToolSource": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
"PB_Git": {
|
||||
"value": "$(ProgramFiles)\\Git\\cmd\\git.exe"
|
||||
},
|
||||
"PB_OptionalToolSourceUser": {
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_OptionalToolingSyncArguments": {
|
||||
"value": "/p:OptionalToolSource=$(PB_OptionalToolSource) /p:OptionalToolSourceUser=$(PB_OptionalToolSourceUser);OptionalToolSourcePassword=$(PB_OptionalToolSourcePAT)"
|
||||
},
|
||||
"PB_OptionalToolSource": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
@@ -446,12 +414,56 @@
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_OptionalToolingSyncArguments": {
|
||||
"value": "/p:OptionalToolSource=$(PB_OptionalToolSource) /p:OptionalToolSourceUser=$(PB_OptionalToolSourceUser);OptionalToolSourcePassword=$(PB_OptionalToolSourcePAT)"
|
||||
"PB_OptionalToolSourceUser": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_PipelineBuildMSBuildArguments": {
|
||||
"value": "",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Platform": {
|
||||
"value": "x64",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_RuntimeOS": {
|
||||
"value": "win10"
|
||||
},
|
||||
"PB_SourceBranch": {
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_SyncArguments": {
|
||||
"value": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_VsoAccountName": {
|
||||
"value": "dn-bot"
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://$(PB_VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VsoRepositoryName)/"
|
||||
},
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted"
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"TeamName": {
|
||||
"value": "DotNetCore"
|
||||
},
|
||||
"VsoPassword": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_SignType": {
|
||||
"value": "real"
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -475,6 +487,7 @@
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
|
||||
"jobAuthorizationScope": "projectCollection",
|
||||
"jobTimeoutInMinutes": 180,
|
||||
"jobCancelTimeoutInMinutes": 5,
|
||||
"repository": {
|
||||
"properties": {
|
||||
"labelSources": "0",
|
||||
@@ -482,7 +495,9 @@
|
||||
"fetchDepth": "0",
|
||||
"gitLfsSupport": "false",
|
||||
"skipSyncSource": "true",
|
||||
"cleanOptions": "3"
|
||||
"cleanOptions": "3",
|
||||
"checkoutNestedSubmodules": "false",
|
||||
"labelSourcesFormat": "$(build.buildNumber)"
|
||||
},
|
||||
"id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a",
|
||||
"type": "TfsGit",
|
||||
@@ -492,25 +507,27 @@
|
||||
"clean": "false",
|
||||
"checkoutSubmodules": false
|
||||
},
|
||||
"processParameters": {},
|
||||
"quality": "definition",
|
||||
"queue": {
|
||||
"id": 36,
|
||||
"name": "DotNet-Build",
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build"
|
||||
}
|
||||
},
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"id": 893,
|
||||
"name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"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": 418097607
|
||||
"revision": 418097767,
|
||||
"visibility": "private"
|
||||
}
|
||||
}
|
||||
}
|
@@ -56,7 +56,7 @@
|
||||
"scriptName": "",
|
||||
"arguments": "-ConfigGroup $(PB_ConfigurationGroup) -SymPkgGlob $(PB_AzureContainerSymbolPackageGlob) -Branch $(SourceBranch)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($ConfigGroup, $SymPkgGlob, $Branch)\nif ($ConfigGroup -ne \"Release\") { exit }\n$archive = $Branch.StartsWith(\"release/\")\n\n$target = \"UnzipSymbolPackagesForPublish\"\nif ($archive) { $target = \"SubmitSymbolsRequest\" }\n\n.\\build-managed.cmd -- `\n/t:$target `\n/p:SymbolPackagesToPublishGlob=$SymPkgGlob `\n/p:ArchiveSymbols=$archive `\n/v:D",
|
||||
"inlineScript": "param($ConfigGroup, $SymPkgGlob, $Branch)\nif ($ConfigGroup -ne \"Release\") { exit }\n$archive = $Branch.StartsWith(\"release/\")\n\n$target = \"GetAllSymbolFilesToPublish\"\nif ($archive) { $target = \"SubmitSymbolsRequest\" }\n\n.\\build-managed.cmd -- `\n/t:$target `\n/p:SymbolPackagesToPublishGlob=$SymPkgGlob `\n/p:ArchiveSymbols=$archive `\n/v:D",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
|
@@ -173,9 +173,9 @@
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ApiKey $(MyGetApiKey) -PipelineSrcDir $(Pipeline.SourcesDirectory) -ConfigurationGroup $(PB_ConfigurationGroup) -AzureContainerPackageGlob $(PB_AzureContainerPackageGlob) -MyGetFeedUrl $(PB_MyGetFeedUrl)",
|
||||
"inlineScript": "param($ApiKey, $PipelineSrcDir, $ConfigurationGroup, $AzureContainerPackageGlob, $MyGetFeedUrl)\nif ($ConfigurationGroup -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $PipelineSrcDir\\packages\\AzureTransfer\\$ConfigurationGroup\\$AzureContainerPackageGlob $ApiKey -Source $MyGetFeedUrl -Timeout 3600",
|
||||
"workingFolder": "",
|
||||
"arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(PB_ConfigurationGroup) -PackagesGlob $(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\$(PB_AzureContainerPackageGlob) -MyGetFeedUrl $(PB_MyGetFeedUrl)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($ApiKey, $ConfigurationGroup, $PackagesGlob, $MyGetFeedUrl)\n\nif ($ConfigurationGroup -ne \"Release\") { exit }\n\n.\\build-managed.cmd -- /t:NuGetPush /v:Normal `\n/p:NuGetExePath=$env:CustomNuGetPath `\n/p:NuGetApiKey=$ApiKey `\n/p:NuGetSource=$MyGetFeedUrl `\n/p:PackagesGlob=$PackagesGlob",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
@@ -193,9 +193,9 @@
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(PB_ConfigurationGroup) -MyGetFeedUrl $(PB_MyGetFeedUrl)",
|
||||
"inlineScript": "param($ApiKey, $ConfigurationGroup, $CustomNuGetPath, $MyGetFeedUrl)\nif ($ConfigurationGroup -ne \"Release\") { exit }\nif ($env:SourceBranch.StartsWith(\"release/\")) { exit }\n& $env:CustomNuGetPath push $env:Build_StagingDirectory\\IndexedSymbolPackages\\*.nupkg $ApiKey -Source $MyGetFeedUrl -Timeout 3600",
|
||||
"workingFolder": "",
|
||||
"arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(PB_ConfigurationGroup) -PackagesGlob $(Build.StagingDirectory)\\IndexedSymbolPackages\\*.nupkg -MyGetFeedUrl $(PB_MyGetFeedUrl)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($ApiKey, $ConfigurationGroup, $PackagesGlob, $MyGetFeedUrl)\n\nif ($ConfigurationGroup -ne \"Release\") { exit }\nif ($env:SourceBranch.StartsWith(\"release/\")) { exit }\n\n.\\build-managed.cmd -- /t:NuGetPush /v:Normal `\n/p:NuGetExePath=$env:CustomNuGetPath `\n/p:NuGetApiKey=$ApiKey `\n/p:NuGetSource=$MyGetFeedUrl `\n/p:PackagesGlob=$PackagesGlob",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
|
@@ -1,9 +1,10 @@
|
||||
@Library('dotnet-ci') _
|
||||
|
||||
// Incoming parameters. Access with "params.<param name>".
|
||||
// Config - Build configuration. Note that we don't using 'Configuration' since it's used
|
||||
// in the build scripts and this can cause problems.
|
||||
// OuterLoop - If true, runs outerloop, if false runs just innerloop
|
||||
// Note that the parameters will be set as env variables so we cannot use names that conflict
|
||||
// with the engineering system parameter names.
|
||||
// CGroup - Build configuration.
|
||||
// TestOuter - If true, runs outerloop, if false runs just innerloop
|
||||
|
||||
def submittedHelixJson = null
|
||||
|
||||
@@ -15,17 +16,8 @@ simpleDockerNode('microsoft/dotnet-buildtools-prereqs:rhel7_prereqs_2') {
|
||||
def logFolder = getLogFolder()
|
||||
|
||||
stage ('Initialize tools') {
|
||||
try {
|
||||
// Init tools
|
||||
sh './init-tools.sh'
|
||||
}
|
||||
catch (err) {
|
||||
// On errors for build tools initializations, it's useful to echo the contents of the file
|
||||
// for easy diagnosis. This could also be copied to the log directory
|
||||
sh 'cat init-tools.log'
|
||||
// Ensure the build result is still propagated.
|
||||
throw err
|
||||
}
|
||||
// Init tools
|
||||
sh './init-tools.sh'
|
||||
}
|
||||
stage ('Generate version assets') {
|
||||
// Generate the version assets. Do we need to even do this for non-official builds?
|
||||
@@ -35,14 +27,14 @@ simpleDockerNode('microsoft/dotnet-buildtools-prereqs:rhel7_prereqs_2') {
|
||||
sh "./sync.sh -p -- /p:ArchGroup=x64"
|
||||
}
|
||||
stage ('Build Product') {
|
||||
sh "./build.sh -buildArch=x64 -${params.Config}"
|
||||
sh "./build.sh -buildArch=x64 -${params.CGroup}"
|
||||
}
|
||||
stage ('Build Tests') {
|
||||
def additionalArgs = ''
|
||||
if (params.OuterLoop) {
|
||||
if (params.TestOuter) {
|
||||
additionalArgs = '-Outerloop'
|
||||
}
|
||||
sh "./build-tests.sh -buildArch=x64 -${params.Config} -SkipTests ${additionalArgs} -- /p:ArchiveTests=true /p:EnableDumpling=true"
|
||||
sh "./build-tests.sh -buildArch=x64 -${params.CGroup} -SkipTests ${additionalArgs} -- /p:ArchiveTests=true /p:EnableDumpling=true"
|
||||
}
|
||||
stage ('Submit To Helix For Testing') {
|
||||
// Bind the credentials
|
||||
@@ -61,12 +53,16 @@ simpleDockerNode('microsoft/dotnet-buildtools-prereqs:rhel7_prereqs_2') {
|
||||
'Ubuntu.1404.Amd64.Open',
|
||||
'Ubuntu.1604.Amd64.Open',
|
||||
'Ubuntu.1610.Amd64.Open',
|
||||
// 'Ubuntu.1704.Amd64.Open',
|
||||
'suse.422.amd64.Open',
|
||||
'fedora.25.amd64.Open']
|
||||
'fedora.25.amd64.Open',]
|
||||
if (params.TestOuter) {
|
||||
targetHelixQueues += ['Debian.90.Amd64.Open',
|
||||
'Fedora.26.Amd64.Open',
|
||||
'SLES.12.Amd64.Open',
|
||||
'Ubuntu.1704.Amd64.Open',]
|
||||
}
|
||||
|
||||
|
||||
sh "./Tools/msbuild.sh src/upload-tests.proj /p:ArchGroup=x64 /p:ConfigurationGroup=${params.Config} /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux /p:HelixJobType=test/functional/cli/ /p:HelixSource=${helixSource} /p:BuildMoniker=${helixBuild} /p:HelixCreator=${helixCreator} /p:CloudDropAccountName=dotnetbuilddrops /p:CloudResultsAccountName=dotnetjobresults /p:CloudDropAccessToken=\$CloudDropAccessToken /p:CloudResultsAccessToken=\$OutputCloudResultsAccessToken /p:HelixApiEndpoint=https://helix.dot.net/api/2017-04-14/jobs /p:TargetQueues=${targetHelixQueues.join('+')} /p:HelixLogFolder=${WORKSPACE}/${logFolder}/ /p:HelixCorrelationInfoFileName=SubmittedHelixRuns.txt"
|
||||
sh "./Tools/msbuild.sh src/upload-tests.proj /p:ArchGroup=x64 /p:ConfigurationGroup=${params.CGroup} /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux /p:HelixJobType=test/functional/cli/ /p:HelixSource=${helixSource} /p:BuildMoniker=${helixBuild} /p:HelixCreator=${helixCreator} /p:CloudDropAccountName=dotnetbuilddrops /p:CloudResultsAccountName=dotnetjobresults /p:CloudDropAccessToken=\$CloudDropAccessToken /p:CloudResultsAccessToken=\$OutputCloudResultsAccessToken /p:HelixApiEndpoint=https://helix.dot.net/api/2017-04-14/jobs /p:TargetQueues=${targetHelixQueues.join('+')} /p:HelixLogFolder=${WORKSPACE}/${logFolder}/ /p:HelixCorrelationInfoFileName=SubmittedHelixRuns.txt"
|
||||
|
||||
submittedHelixJson = readJSON file: "${logFolder}/SubmittedHelixRuns.txt"
|
||||
}
|
||||
@@ -75,11 +71,11 @@ simpleDockerNode('microsoft/dotnet-buildtools-prereqs:rhel7_prereqs_2') {
|
||||
|
||||
stage ('Execute Tests') {
|
||||
def contextBase
|
||||
if (params.OuterLoop) {
|
||||
contextBase = "Linux x64 Tests w/outer - ${params.Config}"
|
||||
if (params.TestOuter) {
|
||||
contextBase = "Linux x64 Tests w/outer - ${params.CGroup}"
|
||||
}
|
||||
else {
|
||||
contextBase = "Linux x64 Tests - ${params.Config}"
|
||||
contextBase = "Linux x64 Tests - ${params.CGroup}"
|
||||
}
|
||||
waitForHelixRuns(submittedHelixJson, contextBase)
|
||||
}
|
||||
}
|
40
external/corefx/buildpipeline/osx.groovy
vendored
Normal file
40
external/corefx/buildpipeline/osx.groovy
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
@Library('dotnet-ci') _
|
||||
|
||||
// Incoming parameters. Access with "params.<param name>".
|
||||
// Note that the parameters will be set as env variables so we cannot use names that conflict
|
||||
// with the engineering system parameter names.
|
||||
// CGroup - Build configuration.
|
||||
// TestOuter - If true, runs outerloop, if false runs just innerloop
|
||||
|
||||
def submittedHelixJson = null
|
||||
|
||||
simpleNode('OSX10.12','latest') {
|
||||
stage ('Checkout source') {
|
||||
checkout scm
|
||||
}
|
||||
|
||||
def logFolder = getLogFolder()
|
||||
|
||||
stage ('Initialize tools') {
|
||||
// Workaround nuget issue https://github.com/NuGet/Home/issues/5085 were we need to set HOME
|
||||
// Init tools
|
||||
sh 'HOME=\$WORKSPACE/tempHome ./init-tools.sh'
|
||||
}
|
||||
stage ('Generate version assets') {
|
||||
// Generate the version assets. Do we need to even do this for non-official builds?
|
||||
sh "./build-managed.sh -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
|
||||
}
|
||||
stage ('Sync') {
|
||||
sh "HOME=\$WORKSPACE/tempHome ./sync.sh -p -- /p:ArchGroup=x64"
|
||||
}
|
||||
stage ('Build Product') {
|
||||
sh "HOME=\$WORKSPACE/tempHome ./build.sh -buildArch=x64 -${params.CGroup}"
|
||||
}
|
||||
stage ('Build Tests') {
|
||||
def additionalArgs = ''
|
||||
if (params.TestOuter) {
|
||||
additionalArgs = '-Outerloop'
|
||||
}
|
||||
sh "HOME=\$WORKSPACE/tempHome ./build-tests.sh -buildArch=x64 -${params.CGroup} ${additionalArgs} -- /p:ArchiveTests=true /p:EnableDumpling=true"
|
||||
}
|
||||
}
|
62
external/corefx/buildpipeline/pipeline.json
vendored
62
external/corefx/buildpipeline/pipeline.json
vendored
@@ -21,7 +21,7 @@
|
||||
"PB_BuildArguments": "-buildArch=x64 -Release -stripSymbols",
|
||||
"PB_BuildTestsArguments": "-buildArch=x64 -Release -SkipTests -Outerloop -- /p:ArchiveTests=true /p:EnableDumpling=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64",
|
||||
"PB_TargetQueue": "Centos.73.Amd64+RedHat.72.Amd64+RedHat.73.Amd64+Debian.87.Amd64+Debian.90.Amd64+Ubuntu.1404.Amd64+Ubuntu.1604.Amd64+Ubuntu.1610.Amd64+Ubuntu.1704.Amd64+suse.422.amd64+fedora.25.amd64",
|
||||
"PB_TargetQueue": "Centos.73.Amd64+RedHat.72.Amd64+RedHat.73.Amd64+Debian.87.Amd64+Debian.90.Amd64+Ubuntu.1404.Amd64+Ubuntu.1604.Amd64+Ubuntu.1610.Amd64+Ubuntu.1704.Amd64+suse.422.amd64+SLES.12.Amd64+fedora.25.amd64+Fedora.26.Amd64",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:ConfigurationGroup=Release /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
@@ -64,7 +64,7 @@
|
||||
"Parameters": {
|
||||
"PB_BuildArguments": "-buildArch=x64 -Release",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64",
|
||||
"PB_TargetQueue": "OSX.1012.Amd64",
|
||||
"PB_TargetQueue": "OSX.1012.Amd64+OSX.1013.Amd64",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:ConfigurationGroup=Release /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=OSX"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
@@ -156,11 +156,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows-NoTest",
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "arm",
|
||||
"PB_BuildArguments": "-framework=uap -buildArch=arm -Release -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:RuntimeOS=win10"
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=arm -Release -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:RuntimeOS=win10 /p:TargetGroup=uap",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=arm /p:TargetGroup=uap /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Arm64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -175,9 +177,9 @@
|
||||
"Parameters": {
|
||||
"PB_Platform": "x64",
|
||||
"PB_BuildArguments": "-framework=uap -buildArch=x64 -Release -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=x64 -Release -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=x64 -Release -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10 /p:TargetGroup=uap",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uap /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Amd64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uap /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -188,12 +190,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows-NoTest",
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "x86",
|
||||
"PB_TargetQueue": "Windows.10.Amd64",
|
||||
"PB_BuildArguments": "-framework=uap -buildArch=x86 -Release -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10"
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=x86 -Release -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10 /p:TargetGroup=uap",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x86 /p:TargetGroup=uap /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -208,7 +211,7 @@
|
||||
"Parameters": {
|
||||
"PB_Platform": "arm",
|
||||
"PB_BuildArguments": "-framework=uapaot -buildArch=arm -Release -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=arm -Release -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=arm -Release -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:RuntimeOS=win10 /p:TargetGroup=uapaot",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=arm /p:TargetGroup=uapaot /p:ConfigurationGroup=Release /p:TargetQueues=Windows.10.Amd64 /p:SecondaryQueue=Windows.10.Arm64 /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
},
|
||||
@@ -225,9 +228,9 @@
|
||||
"Parameters": {
|
||||
"PB_Platform": "x64",
|
||||
"PB_BuildArguments": "-framework=uapaot -buildArch=x64 -Release -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=x64 -Release -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=x64 -Release -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10 /p:TargetGroup=uapaot",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uapaot /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Amd64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uapaot /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -242,9 +245,9 @@
|
||||
"Parameters": {
|
||||
"PB_Platform": "x86",
|
||||
"PB_BuildArguments": "-framework=uapaot -buildArch=x86 -Release -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=x86 -Release -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=x86 -Release -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x86 /p:TargetGroup=uapaot /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Amd64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x86 /p:TargetGroup=uapaot /p:ConfigurationGroup=Release /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -320,7 +323,7 @@
|
||||
"PB_BuildArguments": "-buildArch=x64 -Debug",
|
||||
"PB_BuildTestsArguments": "-buildArch=x64 -Debug -SkipTests -Outerloop -- /p:ArchiveTests=true /p:EnableDumpling=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64",
|
||||
"PB_TargetQueue": "Centos.73.Amd64+RedHat.72.Amd64+RedHat.73.Amd64+Debian.87.Amd64+Debian.90.Amd64+Ubuntu.1404.Amd64+Ubuntu.1604.Amd64+Ubuntu.1610.Amd64+Ubuntu.1704.Amd64+suse.422.amd64+fedora.25.amd64",
|
||||
"PB_TargetQueue": "Centos.73.Amd64+RedHat.72.Amd64+RedHat.73.Amd64+Debian.87.Amd64+Debian.90.Amd64+Ubuntu.1404.Amd64+Ubuntu.1604.Amd64+Ubuntu.1610.Amd64+Ubuntu.1704.Amd64+suse.422.amd64+SLES.12.Amd64+fedora.25.amd64+Fedora.26.Amd64",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:ConfigurationGroup=Debug /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
@@ -361,7 +364,7 @@
|
||||
"Definitions": [{
|
||||
"Name": "DotNet-CoreFx-Trusted-OSX",
|
||||
"Parameters": {
|
||||
"PB_TargetQueue": "OSX.1012.Amd64"
|
||||
"PB_TargetQueue": "OSX.1012.Amd64+OSX.1013.Amd64"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "OSX",
|
||||
@@ -385,9 +388,9 @@
|
||||
"Parameters": {
|
||||
"PB_Platform": "arm",
|
||||
"PB_BuildArguments": "-framework=uap -buildArch=arm -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=arm -Debug -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=arm -Debug -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:RuntimeOS=win10 /p:TargetGroup=uap",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=arm /p:TargetGroup=uap /p:ConfigurationGroup=Debug /p:TargetQueues=Windows.10.Amd64 /p:SecondaryQueue=Windows.10.Arm64 /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=arm /p:TargetGroup=uap /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Arm64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -404,7 +407,7 @@
|
||||
"PB_BuildArguments": "-framework=uap -buildArch=x64 -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=x64 -Debug -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10 /p:TargetGroup=uap",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uap /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Amd64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uap /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -415,12 +418,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows-NoTest",
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "x86",
|
||||
"PB_TargetQueue": "Windows.10.Amd64",
|
||||
"PB_BuildArguments": "-framework:uap -buildArch=x86 -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10"
|
||||
"PB_BuildArguments": "-framework=uap -buildArch=x86 -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uap -buildArch=x86 -Debug -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10 /p:TargetGroup=uap",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x86 /p:TargetGroup=uap /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/uwp/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -431,11 +435,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows-NoTest",
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "arm",
|
||||
"PB_BuildArguments": "-framework:uapaot -buildArch=arm -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:RuntimeOS=win10"
|
||||
"PB_BuildArguments": "-framework=uapaot -buildArch=arm -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=arm -Debug -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:RuntimeOS=win10 /p:TargetGroup=uapaot",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=arm /p:TargetGroup=uapaot /p:ConfigurationGroup=Debug /p:TargetQueues=Windows.10.Amd64 /p:SecondaryQueue=Windows.10.Arm64 /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -452,7 +458,7 @@
|
||||
"PB_BuildArguments": "-framework:uapaot -buildArch=x64 -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=x64 -Debug -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10 /p:TargetGroup=uapaot",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uapaot /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Amd64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=uapaot /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
@@ -470,7 +476,7 @@
|
||||
"PB_BuildArguments": "-framework:uapaot -buildArch=x86 -Debug -- /p:SignType=real /p:RuntimeOS=win10",
|
||||
"PB_BuildTestsArguments": "-framework=uapaot -buildArch=x86 -Debug -SkipTests -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x86 /p:TargetGroup=uapaot /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Amd64\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x86 /p:TargetGroup=uapaot /p:ConfigurationGroup=Debug /p:\"TargetQueues=Windows.10.Amd64.ClientRS3\" /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/ilc/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
|
@@ -10,40 +10,50 @@ def project = GithubProject
|
||||
def branch = GithubBranchName
|
||||
|
||||
// **************************
|
||||
// Define innerloop testing. These jobs run on every merge and a subset of them run on every PR, the ones
|
||||
// that don't run per PR can be requested via a magic phrase.
|
||||
// Define innerloop testing. Any configuration in ForPR will run for every PR but all other configurations
|
||||
// will have a trigger that can be
|
||||
// **************************
|
||||
def linuxPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/portable-linux.groovy')
|
||||
|
||||
['netcoreapp'].each { targetGroup ->
|
||||
['Debug', 'Release'].each { configurationGroup ->
|
||||
['Linux x64'].each { osName ->
|
||||
// Runs the portable-linux.groovy pipeline on the target Helix queues mentioned in the pipeline. Currently:
|
||||
// CentOS 7.3, RedHat 7.3, Debian 8.7, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, openSuSE 42.2 and Fedora 25
|
||||
def linPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/linux.groovy')
|
||||
def osxPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/osx.groovy')
|
||||
def winPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/windows.groovy')
|
||||
|
||||
// One for just innerloop.
|
||||
linuxPipeline.triggerPipelineOnEveryGithubPR("Portable ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':false])
|
||||
// Add one for outerloop
|
||||
linuxPipeline.triggerPipelineOnGithubPRComment("Portable Outerloop ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':true])
|
||||
}
|
||||
}
|
||||
}
|
||||
def configurations = [
|
||||
['TGroup':"netcoreapp", 'Pipeline':linPipeline, 'Name':'Linux' ,'ForPR':"Release-x64", 'Arch':['x64']],
|
||||
['TGroup':"netcoreapp", 'Pipeline':osxPipeline, 'Name':'OSX', 'ForPR':"Debug-x64", 'Arch':['x64']],
|
||||
['TGroup':"netcoreapp", 'Pipeline':winPipeline, 'Name':'Windows' , 'ForPR':"Debug-x64|Release-x86"],
|
||||
['TGroup':"netfx", 'Pipeline':winPipeline, 'Name':'NETFX', 'ForPR':"Release-x86"],
|
||||
['TGroup':"uap", 'Pipeline':winPipeline, 'Name':'UWP CoreCLR', 'ForPR':"Debug-x64"],
|
||||
['TGroup':"uapaot", 'Pipeline':winPipeline, 'Name':'UWP NETNative', 'ForPR':"Release-x86"],
|
||||
['TGroup':"all", 'Pipeline':winPipeline, 'Name':'Packaging All Configurations', 'ForPR':"Debug-x64"],
|
||||
]
|
||||
|
||||
// Create a pipeline for portable windows
|
||||
def windowsPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/portable-windows.groovy')
|
||||
['netcoreapp'].each { targetGroup ->
|
||||
['Debug', 'Release'].each { configurationGroup ->
|
||||
['Windows x64'].each { osName ->
|
||||
// Runs the portable-windows.groovy pipeline on the target Helix queues mentioned in the pipeline. Currently:
|
||||
// Windows 10, Windows 7, Windows 8.1 and Windows Nano
|
||||
configurations.each { config ->
|
||||
['Debug', 'Release'].each { configurationGroup ->
|
||||
(config.Arch ?: ['x64', 'x86']).each { archGroup ->
|
||||
def triggerName = "${config.Name} ${archGroup} ${configurationGroup} Build"
|
||||
|
||||
// One for just innerloop
|
||||
windowsPipeline.triggerPipelineOnEveryGithubPR("Portable ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':false])
|
||||
// Add one for outerloop
|
||||
windowsPipeline.triggerPipelineOnGithubPRComment("Portable Outerloop ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':true])
|
||||
}
|
||||
}
|
||||
}
|
||||
def pipeline = config.Pipeline
|
||||
def params = ['TGroup':config.TGroup,
|
||||
'CGroup':configurationGroup,
|
||||
'AGroup':archGroup,
|
||||
'TestOuter': false]
|
||||
|
||||
// Add default PR triggers for particular configurations but manual triggers for all
|
||||
if (config.ForPR.contains("${configurationGroup}-${archGroup}")) {
|
||||
pipeline.triggerPipelineOnEveryGithubPR(triggerName, params)
|
||||
}
|
||||
else {
|
||||
pipeline.triggerPipelineOnGithubPRComment(triggerName, params)
|
||||
}
|
||||
|
||||
// Add trigger for all configurations to run on merge
|
||||
pipeline.triggerPipelineOnGithubPush(params)
|
||||
|
||||
// Add optional PR trigger for Outerloop test runs
|
||||
params.TestOuter = true
|
||||
pipeline.triggerPipelineOnGithubPRComment("Outerloop ${triggerName}", params)
|
||||
}}}
|
||||
|
||||
JobReport.Report.generateJobReport(out)
|
||||
|
||||
|
@@ -1,71 +0,0 @@
|
||||
@Library('dotnet-ci') _
|
||||
|
||||
// Incoming parameters. Access with "params.<param name>".
|
||||
// Config - Build configuration. Note that we don't using 'Configuration' since it's used
|
||||
// in the build scripts and this can cause problems.
|
||||
// OuterLoop - If true, runs outerloop, if false runs just innerloop
|
||||
|
||||
def submittedHelixJson = null
|
||||
|
||||
simpleNode('Windows_NT','latest') {
|
||||
stage ('Checkout source') {
|
||||
retry (10) {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
|
||||
def logFolder = getLogFolder()
|
||||
|
||||
stage ('Clean') {
|
||||
bat '.\\clean.cmd -all'
|
||||
}
|
||||
stage ('Sync') {
|
||||
bat '.\\sync.cmd -p -- /p:ArchGroup=x64 /p:RuntimeOS=win10'
|
||||
}
|
||||
stage ('Generate Version Assets') {
|
||||
bat '.\\build-managed.cmd -GenerateVersion'
|
||||
}
|
||||
stage ('Build Product') {
|
||||
bat ".\\build.cmd -buildArch=x64 -${params.Config} -- /p:SignType=real /p:RuntimeOS=win10"
|
||||
}
|
||||
stage ('Build Tests') {
|
||||
def additionalArgs = ''
|
||||
if (params.OuterLoop) {
|
||||
additionalArgs = '-Outerloop'
|
||||
}
|
||||
bat ".\\build-tests.cmd -buildArch=x64 -${params.Config} -SkipTests ${additionalArgs} -- /p:RuntimeOS=win10 /p:ArchiveTests=true"
|
||||
}
|
||||
stage ('Submit To Helix For Testing') {
|
||||
// Bind the credentials
|
||||
withCredentials([string(credentialsId: 'CloudDropAccessToken', variable: 'CloudDropAccessToken'),
|
||||
string(credentialsId: 'OutputCloudResultsAccessToken', variable: 'OutputCloudResultsAccessToken')]) {
|
||||
// Ask the CI SDK for a Helix source that makes sense. This ensures that this pipeline works for both PR and non-PR cases
|
||||
def helixSource = getHelixSource()
|
||||
// Ask the CI SDK for a Build that makes sense. We currently use the hash for the build
|
||||
def helixBuild = getCommit()
|
||||
// Get the user that should be associated with the submission
|
||||
def helixCreator = getUser()
|
||||
|
||||
// Target queues
|
||||
def targetHelixQueues = ['Windows.10.Amd64.Open',
|
||||
'Windows.10.Nano.Amd64.Open',
|
||||
'Windows.7.Amd64.Open',
|
||||
'Windows.81.Amd64.Open']
|
||||
|
||||
bat "\"%VS140COMNTOOLS%\\VsDevCmd.bat\" && msbuild src\\upload-tests.proj /p:ArchGroup=x64 /p:ConfigurationGroup=${params.Config} /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:HelixJobType=test/functional/cli/ /p:HelixSource=${helixSource} /p:BuildMoniker=${helixBuild} /p:HelixCreator=${helixCreator} /p:CloudDropAccountName=dotnetbuilddrops /p:CloudResultsAccountName=dotnetjobresults /p:CloudDropAccessToken=%CloudDropAccessToken% /p:CloudResultsAccessToken=%OutputCloudResultsAccessToken% /p:HelixApiEndpoint=https://helix.dot.net/api/2017-04-14/jobs /p:TargetQueues=\"${targetHelixQueues.join(',')}\" /p:HelixLogFolder= /p:HelixLogFolder=${WORKSPACE}\\${logFolder}\\ /p:HelixCorrelationInfoFileName=SubmittedHelixRuns.txt"
|
||||
|
||||
submittedHelixJson = readJSON file: "${logFolder}\\SubmittedHelixRuns.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Execute Tests') {
|
||||
def contextBase
|
||||
if (params.OuterLoop) {
|
||||
contextBase = "Win x64 tests w/outer - ${params.Config}"
|
||||
}
|
||||
else {
|
||||
contextBase = "Win x64 tests - ${params.Config}"
|
||||
}
|
||||
waitForHelixRuns(submittedHelixJson, contextBase)
|
||||
}
|
564
external/corefx/buildpipeline/security/DotNet-CoreFx-Security-Windows.json
vendored
Normal file
564
external/corefx/buildpipeline/security/DotNet-CoreFx-Security-Windows.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
22
external/corefx/buildpipeline/security/pipeline.json
vendored
Normal file
22
external/corefx/buildpipeline/security/pipeline.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"Repository": "corefx",
|
||||
"Definitions": {
|
||||
"Path": ".",
|
||||
"Type": "VSTS",
|
||||
"BaseUrl": "https://devdiv.visualstudio.com/DefaultCollection",
|
||||
"SkipBranchAndVersionOverrides": "false"
|
||||
},
|
||||
"Pipelines": [
|
||||
{
|
||||
"Name": "Security Build for Windows",
|
||||
"Parameters": {
|
||||
"TreatWarningsAsErrors": "false"
|
||||
},
|
||||
"Definitions": [
|
||||
{
|
||||
"Name": "DotNet-CoreFx-Security-Windows"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
104
external/corefx/buildpipeline/windows.groovy
vendored
Normal file
104
external/corefx/buildpipeline/windows.groovy
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
@Library('dotnet-ci') _
|
||||
|
||||
// Incoming parameters. Access with "params.<param name>".
|
||||
// Note that the parameters will be set as env variables so we cannot use names that conflict
|
||||
// with the engineering system parameter names.
|
||||
// TGroup - The target framework to build.
|
||||
// CGroup - Build configuration.
|
||||
// TestOuter - If true, runs outerloop, if false runs just innerloop
|
||||
|
||||
def submittedHelixJson = null
|
||||
def submitToHelix = (params.TGroup == 'netcoreapp' || params.TGroup == 'uap')
|
||||
|
||||
simpleNode('Windows_NT','latest') {
|
||||
stage ('Checkout source') {
|
||||
retry (10) {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
|
||||
def logFolder = getLogFolder()
|
||||
def framework = ''
|
||||
if (params.TGroup == 'all') {
|
||||
framework = '-allConfigurations'
|
||||
}
|
||||
else {
|
||||
framework = "-framework:${params.TGroup}"
|
||||
}
|
||||
def buildTests = (params.TGroup != 'all')
|
||||
|
||||
stage ('Initialize tools') {
|
||||
// Init tools
|
||||
bat '.\\init-tools.cmd'
|
||||
}
|
||||
stage ('Sync') {
|
||||
bat ".\\sync.cmd -p -- /p:ArchGroup=${params.AGroup} /p:RuntimeOS=win10"
|
||||
}
|
||||
stage ('Generate Version Assets') {
|
||||
bat '.\\build-managed.cmd -GenerateVersion'
|
||||
}
|
||||
stage ('Build Product') {
|
||||
bat ".\\build.cmd ${framework} -buildArch=${params.AGroup} -${params.CGroup} -- /p:RuntimeOS=win10"
|
||||
}
|
||||
if (buildTests) {
|
||||
stage ('Build Tests') {
|
||||
def additionalArgs = ''
|
||||
def archiveTests = 'false'
|
||||
if (params.TestOuter) {
|
||||
additionalArgs += ' -Outerloop'
|
||||
}
|
||||
if (submitToHelix) {
|
||||
archiveTests = 'true'
|
||||
}
|
||||
if (submitToHelix || params.TGroup == 'uapaot') {
|
||||
additionalArgs += ' -SkipTests'
|
||||
}
|
||||
bat ".\\build-tests.cmd ${framework} -buildArch=${params.AGroup} -${params.CGroup}${additionalArgs} -- /p:RuntimeOS=win10 /p:ArchiveTests=${archiveTests}"
|
||||
}
|
||||
}
|
||||
if (submitToHelix) {
|
||||
stage ('Submit To Helix For Testing') {
|
||||
// Bind the credentials
|
||||
withCredentials([string(credentialsId: 'CloudDropAccessToken', variable: 'CloudDropAccessToken'),
|
||||
string(credentialsId: 'OutputCloudResultsAccessToken', variable: 'OutputCloudResultsAccessToken')]) {
|
||||
// Ask the CI SDK for a Helix source that makes sense. This ensures that this pipeline works for both PR and non-PR cases
|
||||
def helixSource = getHelixSource()
|
||||
// Ask the CI SDK for a Build that makes sense. We currently use the hash for the build
|
||||
def helixBuild = getCommit()
|
||||
// Get the user that should be associated with the submission
|
||||
def helixCreator = getUser()
|
||||
|
||||
// Target queues
|
||||
def targetHelixQueues = []
|
||||
if (params.TGroup == 'netcoreapp')
|
||||
{
|
||||
targetHelixQueues = ['Windows.10.Amd64.Open',
|
||||
'Windows.7.Amd64.Open',
|
||||
'Windows.81.Amd64.Open']
|
||||
if (params.AGroup == 'x64') {
|
||||
targetHelixQueues += ['Windows.10.Nano.Amd64.Open']
|
||||
}
|
||||
} else if (params.TGroup == 'uap') {
|
||||
targetHelixQueues = ['Windows.10.Amd64.ClientRS2.Open']
|
||||
}
|
||||
|
||||
bat "\"%VS140COMNTOOLS%\\VsDevCmd.bat\" && msbuild src\\upload-tests.proj /p:TargetGroup=${params.TGroup} /p:ArchGroup=${params.AGroup} /p:ConfigurationGroup=${params.CGroup} /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:HelixJobType=test/functional/cli/ /p:HelixSource=${helixSource} /p:BuildMoniker=${helixBuild} /p:HelixCreator=${helixCreator} /p:CloudDropAccountName=dotnetbuilddrops /p:CloudResultsAccountName=dotnetjobresults /p:CloudDropAccessToken=%CloudDropAccessToken% /p:CloudResultsAccessToken=%OutputCloudResultsAccessToken% /p:HelixApiEndpoint=https://helix.dot.net/api/2017-04-14/jobs /p:TargetQueues=\"${targetHelixQueues.join(',')}\" /p:HelixLogFolder= /p:HelixLogFolder=${WORKSPACE}\\${logFolder}\\ /p:HelixCorrelationInfoFileName=SubmittedHelixRuns.txt"
|
||||
|
||||
submittedHelixJson = readJSON file: "${logFolder}\\SubmittedHelixRuns.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (submitToHelix) {
|
||||
stage ('Execute Tests') {
|
||||
def contextBase
|
||||
if (params.TestOuter) {
|
||||
contextBase = "Win tests w/outer - ${params.TGroup} ${params.AGroup} ${params.CGroup}"
|
||||
}
|
||||
else {
|
||||
contextBase = "Win tests - ${params.TGroup} ${params.AGroup} ${params.CGroup}"
|
||||
}
|
||||
waitForHelixRuns(submittedHelixJson, contextBase)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user