You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
488
external/corefx/buildpipeline/DotNet-CoreFx-Trusted-Linux-Crossbuild.json
vendored
Normal file
488
external/corefx/buildpipeline/DotNet-CoreFx-Trusted-Linux-Crossbuild.json
vendored
Normal file
@@ -0,0 +1,488 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Delete files from $(Build.SourcesDirectory)",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "b7e8b412-0437-4065-9371-edc5881de25b",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SourceFolder": "$(Build.SourcesDirectory)",
|
||||
"Contents": "**\n.gitignore"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git clone",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "git",
|
||||
"arguments": "clone $(PB_VsoCorefxGitUrl) corefx",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git checkout",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "git",
|
||||
"arguments": "checkout $(SourceVersion)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Initialize tools",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/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)/corefx/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,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Generate Version Assets",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true",
|
||||
"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": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/sync.sh -p -- /p:ArchGroup=$(PB_Architecture)",
|
||||
"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": "exec -e ROOTFS_DIR $(PB_DockerContainerName) $(PB_GitDirectory)/build.sh -buildArch=$(PB_Architecture) -$(PB_ConfigurationGroup) $(PB_BuildArguments)",
|
||||
"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": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/publish-packages.sh -AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -verbose -- /p:OverwriteOnPublish=true",
|
||||
"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)",
|
||||
"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": "$(PB_DockerCopyDest)/corefx",
|
||||
"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)/corefx/Tools/scripts/docker/cleanup-docker.sh",
|
||||
"arguments": "",
|
||||
"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)/corefx/Tools/msbuild.sh",
|
||||
"arguments": "cleanupagent.proj /p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/corefx/Tools/scripts/vstsagent/",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"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_ConfigurationGroup": {
|
||||
"value": "Release"
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "http://github.com/dotnet/corefx.git"
|
||||
},
|
||||
"PB_GitDirectory": {
|
||||
"value": "/root/corefx"
|
||||
},
|
||||
"PB_DockerContainerName": {
|
||||
"value": "corefx-cross-$(Build.BuildId)"
|
||||
},
|
||||
"PB_DockerImageName": {
|
||||
"value": "$(PB_DockerRepository):$(PB_DockerTag)"
|
||||
},
|
||||
"PB_DockerRepository": {
|
||||
"value": "microsoft/dotnet-buildtools-prereqs"
|
||||
},
|
||||
"PB_DockerTag": {
|
||||
"value": "ubuntu1404_cross_prereqs_v2",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)"
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)"
|
||||
},
|
||||
"GitHubBranch": {
|
||||
"value": "sni_plus_latestbuildtools"
|
||||
},
|
||||
"PB_Architecture": {
|
||||
"value": "arm"
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"value": ""
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_DockerCopyDest": {
|
||||
"value": "$(Build.BinariesDirectory)/docker_repo"
|
||||
},
|
||||
"ROOTFS_DIR": {
|
||||
"value": "/crossrootfs/$(PB_Architecture)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"portableLinux": {
|
||||
"value": ""
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
"Agent.OS -equals linux",
|
||||
"Docker -equals 1.13.1"
|
||||
],
|
||||
"retentionRules": [
|
||||
{
|
||||
"branches": [
|
||||
"+refs/heads/*"
|
||||
],
|
||||
"artifacts": [],
|
||||
"artifactTypesToDelete": [
|
||||
"FilePath",
|
||||
"SymbolStore"
|
||||
],
|
||||
"daysToKeep": 10,
|
||||
"minimumToKeep": 1,
|
||||
"deleteBuildRecord": true,
|
||||
"deleteTestResults": true
|
||||
}
|
||||
],
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
|
||||
"jobAuthorizationScope": "projectCollection",
|
||||
"jobTimeoutInMinutes": 90,
|
||||
"repository": {
|
||||
"properties": {
|
||||
"labelSources": "0",
|
||||
"reportBuildStatus": "true",
|
||||
"fetchDepth": "0",
|
||||
"gitLfsSupport": "false",
|
||||
"skipSyncSource": "false",
|
||||
"cleanOptions": "0"
|
||||
},
|
||||
"id": "58fa2458-e392-4373-ba2b-dd3ef0c2d7ce",
|
||||
"type": "TfsGit",
|
||||
"name": "DotNet-CoreFX-Trusted",
|
||||
"url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreFX-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": 5247,
|
||||
"name": "DotNet-CoreFx-Trusted-Linux-Crossbuild",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/5247",
|
||||
"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
|
||||
}
|
||||
}
|
@@ -73,8 +73,8 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Docker clean-up",
|
||||
"alwaysRun": false,
|
||||
"displayName": "Initialize Docker",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
@@ -82,8 +82,8 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/scripts/docker/cleanup-docker.sh",
|
||||
"arguments": "",
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/scripts/docker/init-docker.sh",
|
||||
"arguments": "$(PB_DockerImageName)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -227,7 +227,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "exec $(PB_DockerContainerName) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/tests.builds $(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:\"TargetQueue=$(PB_TargetQueue)\" /p:\"OfficialBuildId=$(OfficialBuildId)\"",
|
||||
"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)\"",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -252,8 +252,8 @@
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Remove old docker build logs",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
@@ -286,26 +286,8 @@
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Stop detached docker container",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "stop $(PB_DockerContainerName)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Remove container",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
@@ -315,14 +297,14 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "rm $(PB_DockerContainerName)",
|
||||
"arguments": "rm -f $(PB_DockerContainerName)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Copy Publish Artifact: BuildLogs",
|
||||
"timeoutInMinutes": 0,
|
||||
@@ -343,7 +325,7 @@
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Run docker version",
|
||||
"displayName": "Cleanup Docker",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
@@ -351,11 +333,29 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "version",
|
||||
"filename": "$(Build.SourcesDirectory)/corefx/Tools/scripts/docker/cleanup-docker.sh",
|
||||
"arguments": "",
|
||||
"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)/corefx/Tools/msbuild.sh",
|
||||
"arguments": "cleanupagent.proj /p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/corefx/Tools/scripts/vstsagent/",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
@@ -401,13 +401,13 @@
|
||||
"value": "/root/corefx"
|
||||
},
|
||||
"PB_DockerContainerName": {
|
||||
"value": "$(Build.BuildId)"
|
||||
"value": "corefx-$(Build.BuildId)"
|
||||
},
|
||||
"PB_DockerImageName": {
|
||||
"value": "$(PB_DockerRepository):$(PB_DockerTag)"
|
||||
},
|
||||
"PB_DockerRepository": {
|
||||
"value": "chcosta/dotnetcore"
|
||||
"value": "microsoft/dotnet-buildtools-prereqs"
|
||||
},
|
||||
"PB_DockerTag": {
|
||||
"value": "debian82_prereqs_2",
|
||||
@@ -442,7 +442,7 @@
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_VsoRepoName": {
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted",
|
||||
"allowOverride": true
|
||||
},
|
||||
@@ -458,12 +458,15 @@
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_BuildTestsArguments": {
|
||||
"value": "-BuildArch=x64 -Debug -SkipTests",
|
||||
"value": "-BuildArch=x64 -Release -SkipTests",
|
||||
"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",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
|
@@ -155,7 +155,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Agent.BuildDirectory)/s/corefx/Tools/msbuild.sh",
|
||||
"arguments": "$(Agent.BuildDirectory)/s/corefx/src/tests.builds $(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:\"TargetQueue=$(PB_TargetQueue)\" /p:\"OfficialBuildId=$(OfficialBuildId)\"",
|
||||
"arguments": "$(Agent.BuildDirectory)/s/corefx/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)\"",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -291,7 +291,7 @@
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
"Agent.OS -equals darwin"
|
||||
"Configuration -equals VSTSAgent_Mac_v3.0.0"
|
||||
],
|
||||
"retentionRules": [
|
||||
{
|
||||
@@ -331,11 +331,11 @@
|
||||
"quality": "definition",
|
||||
"queue": {
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
"id": 97,
|
||||
"name": "DotNetCore-Build"
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build"
|
||||
"id": 330,
|
||||
"name": "DotNetCore-Build"
|
||||
},
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
@@ -349,4 +349,4 @@
|
||||
"state": "wellFormed",
|
||||
"revision": 418097459
|
||||
}
|
||||
}
|
||||
}
|
||||
|
479
external/corefx/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json
vendored
Normal file
479
external/corefx/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json
vendored
Normal file
@@ -0,0 +1,479 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Delete 'corefx'",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-path $(build.SourcesDirectory)\\corefx",
|
||||
"inlineScript": "param($path)\n\nif (Test-Path $path){\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }\n\nif (Test-Path $path){\n # in case corefx is still alive\n .\\diag_tools\\handle.exe -accepteula $path\n }",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git clone",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(PB_Git)",
|
||||
"arguments": "clone $(PB_VsoCorefxGitUrl) corefx",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git checkout",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(PB_Git)",
|
||||
"arguments": "checkout $(SourceVersion)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "$(PB_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 $(Build.SourcesDirectory)\\corefx\\clean.cmd",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\clean.cmd",
|
||||
"arguments": "-all",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run $(Build.SourcesDirectory)\\corefx\\sync.cmd",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\sync.cmd",
|
||||
"arguments": "$(PB_SyncArguments)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Generate Version Assets",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\build-managed.cmd",
|
||||
"arguments": "-GenerateVersion -OfficialBuildId=$(OfficialBuildId)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run $(Build.SourcesDirectory)\\corefx\\build.cmd",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\build.cmd",
|
||||
"arguments": "$(PB_BuildArguments)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Push packages to Azure",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\publish-packages.cmd",
|
||||
"arguments": "-AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -- /p:OverwriteOnPublish=true",
|
||||
"workingFolder": "corefx",
|
||||
"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\ncorefx\\*.log\ncorefx\\src\\*.log",
|
||||
"ArtifactName": "BuildLogs",
|
||||
"ArtifactType": "Container",
|
||||
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish symbols path: \\\\cpvsbuild\\drops\\DotNetCore\\$(PB_SymbolsBuildIdRoot)$(System.DefinitionId)\\$(Build.BuildNumber)\\symbols",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "0675668a-7bba-4ccb-901d-5ad6554ca653",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SymbolsPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(PB_SymbolsBuildIdRoot)$(System.DefinitionId)\\$(Build.BuildNumber)\\symbols",
|
||||
"SearchPattern": "corefx\\bin\\*$(PB_Platform).$(PB_ConfigurationGroup)\\**\\*.pdb",
|
||||
"SymbolsFolder": "",
|
||||
"SkipIndexing": "false",
|
||||
"TreatNotIndexedAsWarning": "false",
|
||||
"SymbolsMaximumWaitTime": "",
|
||||
"SymbolsProduct": "",
|
||||
"SymbolsVersion": "",
|
||||
"SymbolsArtifactName": "Symbols_$(PB_ConfigurationGroup)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Index symbols on http://symweb",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "af503aa3-9d06-44b6-a549-d063a544a5c5",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"symbolStore": "\\\\cpvsbuild\\drops\\DotNetCore\\$(PB_SymbolsBuildIdRoot)$(System.DefinitionId)\\$(Build.BuildNumber)\\symbols",
|
||||
"contacts": "jhendrix;mawilkie",
|
||||
"project": "DDE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish to Symbols to Artifact Services",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "29827cd1-5c33-4ff0-a817-abd46970ffc4",
|
||||
"versionSpec": "0.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"symbolServiceURI": "https://devdiv.artifacts.visualstudio.com/DefaultCollection",
|
||||
"requestName": "$(system.teamProject)/$(Build.BuildNumber)/$(Build.BuildId)",
|
||||
"sourcePath": "$(Build.SourcesDirectory)\\corefx\\bin",
|
||||
"assemblyPath": "",
|
||||
"toLowerCase": "true",
|
||||
"detailedLog": "true",
|
||||
"expirationInDays": "",
|
||||
"usePat": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Execute cleanup tasks",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "521a94ea-9e68-468a-8167-6dcf361ea776",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Final clean to remove any lingering process",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\clean.cmd",
|
||||
"arguments": "",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Build solution corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"solution": "corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj",
|
||||
"platform": "",
|
||||
"configuration": "",
|
||||
"msbuildArguments": "/p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)",
|
||||
"clean": "false",
|
||||
"maximumCpuCount": "false",
|
||||
"restoreNugetPackages": "false",
|
||||
"logProjectEvents": "false",
|
||||
"createLogFile": "false",
|
||||
"msbuildLocationMethod": "version",
|
||||
"msbuildVersion": "14.0",
|
||||
"msbuildArchitecture": "x86",
|
||||
"msbuildLocation": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"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_ConfigurationGroup": {
|
||||
"value": "Debug",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Platform": {
|
||||
"value": "x64",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Build.Clean": {
|
||||
"value": "all"
|
||||
},
|
||||
"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_SymbolsBuildIdRoot": {
|
||||
"value": "DotNet-CoreFx-"
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
"Agent.OS -equals windows_nt"
|
||||
],
|
||||
"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": "true",
|
||||
"cleanOptions": "3"
|
||||
},
|
||||
"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": "false",
|
||||
"checkoutSubmodules": false
|
||||
},
|
||||
"quality": "definition",
|
||||
"queue": {
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"id": 5308,
|
||||
"name": "DotNet-CoreFx-Trusted-Windows-NoTest",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/5308",
|
||||
"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": 418097529
|
||||
}
|
||||
}
|
@@ -105,7 +105,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\sync.cmd",
|
||||
"arguments": "$(PB_SyncArguments)",
|
||||
"arguments": "$(PB_SyncArguments) $(PB_OptionalToolingSyncArguments)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -141,7 +141,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\build.cmd",
|
||||
"arguments": "$(PB_BuildArguments)",
|
||||
"arguments": "$(PB_BuildArguments) $(PB_PipelineBuildMSBuildArguments)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -176,10 +176,10 @@
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"solution": "$(Build.SourcesDirectory)\\corefx\\src\\tests.builds",
|
||||
"solution": "$(Build.SourcesDirectory)\\corefx\\src\\upload-tests.proj",
|
||||
"platform": "",
|
||||
"configuration": "",
|
||||
"msbuildArguments": "$(PB_CreateHelixArguments) /p:\"Branch=$(SourceBranch)\" /p:\"CloudDropAccountName=$(PB_CloudDropAccountName)\" /p:\"CloudResultsAccountName=$(PB_CloudResultsAccountName)\" /p:\"CloudDropAccessToken=$(CloudDropAccessToken)\" /p:\"CloudResultsAccessToken=$(OutputCloudResultsAccessToken)\" /p:\"HelixApiAccessKey=$(HelixApiAccessKey)\" /p:\"HelixApiEndpoint=$(PB_HelixApiEndPoint)\" /p:\"OfficialBuildId=$(OfficialBuildId)\"",
|
||||
"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)\"",
|
||||
"clean": "false",
|
||||
"maximumCpuCount": "false",
|
||||
"restoreNugetPackages": "false",
|
||||
@@ -466,6 +466,28 @@
|
||||
"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_OptionalToolSourceUser": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_OptionalToolSourcePAT": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_OptionalToolingSyncArguments": {
|
||||
"value": "/p:OptionalToolSource=$(PB_OptionalToolSource) /p:OptionalToolSourceUser=$(PB_OptionalToolSourceUser);OptionalToolSourcePassword=$(PB_OptionalToolSourcePAT)"
|
||||
},
|
||||
"PB_PipelineBuildMSBuildArguments": {
|
||||
"value": "",
|
||||
"allowOverride": true
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -525,6 +547,6 @@
|
||||
"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": 418097568
|
||||
}
|
||||
}
|
@@ -74,7 +74,7 @@
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "$(PB_CloudDropAccountName) $(CloudDropAccessToken) $(PB_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}",
|
||||
"inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -173,8 +173,8 @@
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ghAuthToken $(PB_DotNetBuildBotAccessToken) -root $(Pipeline.SourcesDirectory) -cg $(PB_ConfigurationGroup)",
|
||||
"inlineScript": "param($ghAuthToken, $root, $cg)\nif ($cg -ne \"Release\") { exit }\ncd $root\n. $root\\UpdatePublishedVersions.ps1 `\n -gitHubUser dotnet-helix-bot -gitHubEmail dotnet-helix-bot@microsoft.com `\n -gitHubAuthToken $ghAuthToken `\n -versionsRepoOwner $env:PB_VersionsRepoOwner -versionsRepo versions `\n -versionsRepoPath build-info/dotnet/$env:PB_GitHubRepositoryName/$env:SourceBranch `\n -nupkgPath $root\\packages\\AzureTransfer\\$cg\\$env:PB_AzureContainerPackageGlob",
|
||||
"arguments": "-ghAuthToken $(PB_DotNetBuildBotAccessToken) -root $(Pipeline.SourcesDirectory) -cg $(PB_ConfigurationGroup) -fullPkgGlob $(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\$(PB_AzureContainerPackageGlob)",
|
||||
"inlineScript": "param($ghAuthToken, $root, $cg, $fullPkgGlob)\nif ($cg -ne \"Release\") { exit }\ncd $root\n. $root\\build-managed.cmd -- /t:UpdatePublishedVersions `\n/p:GitHubUser=dotnet-helix-bot `\n/p:GitHubEmail=dotnet-helix-bot@microsoft.com `\n/p:GitHubAuthToken=$ghAuthToken `\n/p:VersionsRepoOwner=$env:PB_VersionsRepoOwner `\n/p:VersionsRepo=versions `\n/p:VersionsRepoPath=build-info/dotnet/$env:PB_GitHubRepositoryName/$env:SourceBranch `\n/p:ShippedNuGetPackageGlobPath=$fullPkgGlob",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
@@ -218,7 +218,7 @@
|
||||
"toLowerCase": "true",
|
||||
"detailedLog": "false",
|
||||
"usePat": "false",
|
||||
"retentionDays": "30",
|
||||
"retentionDays": "",
|
||||
"dropMetadataContainerName": "DropMetadata"
|
||||
}
|
||||
}
|
||||
@@ -292,10 +292,6 @@
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_VstsFeedUrl": {
|
||||
"value": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/dotnet-core-test/nuget/v3/index.json",
|
||||
"allowOverride": true
|
||||
},
|
||||
"VstsPat": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
|
401
external/corefx/buildpipeline/pipeline.json
vendored
401
external/corefx/buildpipeline/pipeline.json
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user