You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -1,5 +1,26 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run begin.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "10f1f9a1-74b0-47ab-87bf-e3c9c68e8b0d",
|
||||
"versionSpec": "0.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"type": "InlineScript",
|
||||
"scriptPath": "",
|
||||
"args": "",
|
||||
"cwd": "",
|
||||
"failOnStandardError": "false",
|
||||
"script": "if [ -f \"$AGENTTOOLSPATH/begin.sh\" ]; then echo \"$AGENTTOOLSPATH/begin.sh script found. Executing...\"; $AGENTTOOLSPATH/begin.sh ; else echo \"$AGENTTOOLSPATH/begin.sh script does not exist. Moving on.\" ; fi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -7,7 +28,7 @@
|
||||
"alwaysRun": false,
|
||||
"displayName": "Change permissions to agent folder for cleanup steps",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task1",
|
||||
"condition": "succeeded()",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -16,18 +37,18 @@
|
||||
"inputs": {
|
||||
"filename": "sudo",
|
||||
"arguments": "chmod 777 -R .",
|
||||
"workingFolder": "$(Agent.WorkFolder)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Delete files from $(PB_GitDirectory)",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task2",
|
||||
"condition": "succeeded()",
|
||||
"task": {
|
||||
"id": "b7e8b412-0437-4065-9371-edc5881de25b",
|
||||
"versionSpec": "1.*",
|
||||
@@ -43,9 +64,8 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git clone",
|
||||
"displayName": "Local git clone",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task3",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -63,9 +83,8 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git checkout",
|
||||
"displayName": "Local git checkout",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task4",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -83,9 +102,9 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Initialize tools",
|
||||
"displayName": "Local initialize tools",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task5",
|
||||
"condition": "succeeded()",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -94,7 +113,7 @@
|
||||
"inputs": {
|
||||
"filename": "$(PB_GitDirectory)/init-tools.sh",
|
||||
"arguments": "",
|
||||
"workingFolder": "$(PB_GitDirectory)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
@@ -103,9 +122,9 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Initialize Docker",
|
||||
"displayName": "Local initialize Docker",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task6",
|
||||
"condition": "succeeded()",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -123,9 +142,9 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Generate Version Assets",
|
||||
"displayName": "Docker git clone",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task7",
|
||||
"condition": "succeeded()",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -133,7 +152,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true",
|
||||
"arguments": "run --rm $(PB_DockerCommonRunArgs) git clone $(PB_VsoCorefxGitUrl) $(PB_DockerVolumeName)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -143,9 +162,9 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run sync.sh",
|
||||
"displayName": "Docker git checkout",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task8",
|
||||
"condition": "succeeded()",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -153,7 +172,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/sync.sh $(PB_SyncArguments)",
|
||||
"arguments": "run --rm $(PB_DockerCommonRunArgs) git checkout $(SourceVersion)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -163,9 +182,8 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run build.sh",
|
||||
"displayName": "Docker generate version assets",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task9",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -173,7 +191,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run -e ROOTFS_DIR $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)",
|
||||
"arguments": "run --rm $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -183,9 +201,8 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run publish-packages.sh",
|
||||
"displayName": "Docker run sync.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task10",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -193,7 +210,83 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/publish-packages.sh -AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -verbose -- /p:OverwriteOnPublish=false",
|
||||
"arguments": "run --rm $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/sync.sh $(PB_SyncArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Docker run build-native.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run --rm -e ROOTFS_DIR=$(ROOTFS_DIR) $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-native.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildNativeArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Docker run build-managed.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run --rm -e ROOTFS_DIR=$(ROOTFS_DIR) $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-managed.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildManagedArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Docker run build-packages.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run --rm -e ROOTFS_DIR=$(ROOTFS_DIR) $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/build-packages.sh -OfficialBuildId=$(OfficialBuildId) $(PB_BuildPackagesArguments)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Docker run publish-packages.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "docker",
|
||||
"arguments": "run --rm $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/publish-packages.sh -AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -verbose -- /p:OverwriteOnPublish=false",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -203,22 +296,19 @@
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
|
||||
"displayName": "Local copy logs out of container",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "succeededOrFailed()",
|
||||
"refName": "CopyFiles1",
|
||||
"task": {
|
||||
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
|
||||
"versionSpec": "2.*",
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SourceFolder": "$(PB_GitDirectory)",
|
||||
"Contents": "*.log",
|
||||
"TargetFolder": "$(Build.StagingDirectory)\\BuildLogs",
|
||||
"CleanTargetFolder": "false",
|
||||
"OverWrite": "false",
|
||||
"flattenFolders": "false"
|
||||
"filename": "docker",
|
||||
"arguments": "run --rm -v $(Build.StagingDirectory):/docker_logs $(PB_DockerCommonRunArgs) find . -type f -name *.log -exec cp {} --target-directory=/docker_logs ;",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -226,17 +316,16 @@
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Publish Artifact: BuildLogs",
|
||||
"displayName": "Local publish artifact: BuildLogs",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "succeededOrFailed()",
|
||||
"refName": "PublishBuildArtifacts2",
|
||||
"task": {
|
||||
"id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"PathtoPublish": "$(Build.StagingDirectory)\\BuildLogs",
|
||||
"PathtoPublish": "$(Build.StagingDirectory)",
|
||||
"ArtifactName": "BuildLogs",
|
||||
"ArtifactType": "Container",
|
||||
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)",
|
||||
@@ -249,10 +338,9 @@
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Cleanup Docker",
|
||||
"displayName": "Local cleanup Docker",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "always()",
|
||||
"refName": "Task12",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -269,21 +357,21 @@
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Cleanup VSTS Agent",
|
||||
"displayName": "run end.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "always()",
|
||||
"refName": "Task13",
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"id": "10f1f9a1-74b0-47ab-87bf-e3c9c68e8b0d",
|
||||
"versionSpec": "0.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"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"
|
||||
"type": "InlineScript",
|
||||
"scriptPath": "",
|
||||
"args": "",
|
||||
"cwd": "",
|
||||
"failOnStandardError": "false",
|
||||
"script": "if [ -f \"$AGENTTOOLSPATH/end.sh\" ]; then echo \"$AGENTTOOLSPATH/end.sh script found. Executing...\"; $AGENTTOOLSPATH/end.sh ; else echo \"$AGENTTOOLSPATH/end.sh script does not exist. Moving on.\" ; fi"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -308,15 +396,6 @@
|
||||
"assignToRequestor": "true",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
|
||||
},
|
||||
"inputs": {
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"variables": {
|
||||
@@ -333,9 +412,22 @@
|
||||
"PB_Architecture": {
|
||||
"value": "arm"
|
||||
},
|
||||
"PB_AssetRootUrl": {
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"value": "-BuildArch=$(PB_Architecture)"
|
||||
},
|
||||
"PB_BuildManagedArguments": {
|
||||
"value": "$(PB_BuildArguments)"
|
||||
},
|
||||
"PB_BuildNativeArguments": {
|
||||
"value": "$(PB_BuildArguments)"
|
||||
},
|
||||
"PB_BuildPackagesArguments": {
|
||||
"value": "$(PB_BuildArguments)"
|
||||
},
|
||||
"PB_CleanAgent": {
|
||||
"value": "true"
|
||||
},
|
||||
@@ -346,13 +438,13 @@
|
||||
"value": "Release"
|
||||
},
|
||||
"PB_DockerCommonRunArgs": {
|
||||
"value": "--rm --name $(PB_DockerContainerName) -v \"$(PB_GitDirectory):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" -e \"PACKAGEVERSIONPROPSURL=$(PB_PackageVersionPropsUrl)\" $(PB_DockerImageName)"
|
||||
"value": "--name $(PB_DockerContainerName) -v \"$(PB_DockerContainerName):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" -e \"PACKAGEVERSIONPROPSURL=$(PB_PackageVersionPropsUrl)\" $(PB_DockerImageName)"
|
||||
},
|
||||
"PB_DockerContainerName": {
|
||||
"value": "corefx-cross-$(Build.BuildId)"
|
||||
},
|
||||
"PB_DockerCopyDest": {
|
||||
"value": "$(Build.BinariesDirectory)/docker_repo"
|
||||
"value": "$(Build.StagingDirectory)"
|
||||
},
|
||||
"PB_DockerImageName": {
|
||||
"value": "$(PB_DockerRepository):$(PB_DockerTag)"
|
||||
@@ -373,11 +465,24 @@
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)"
|
||||
},
|
||||
"PB_PackageVersionPropsUrl": {
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_RestoreSource": {
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_SyncArguments": {
|
||||
"value": "-p -- /p:ArchGroup=$(PB_Architecture)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_VsoAccountName": {
|
||||
"value": "dn-bot"
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://$(PB_VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VsoRepositoryName)/"
|
||||
"value": "https://$(PB_VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VsoRepositoryName)/",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted"
|
||||
@@ -400,16 +505,6 @@
|
||||
"VsoPassword": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_SyncArguments": {
|
||||
"value": "-p -- /p:ArchGroup=$(PB_Architecture)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_PackageVersionPropsUrl": {
|
||||
"value": ""
|
||||
},
|
||||
"PB_AssetRootUrl": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -441,8 +536,8 @@
|
||||
"reportBuildStatus": "true",
|
||||
"fetchDepth": "0",
|
||||
"gitLfsSupport": "false",
|
||||
"skipSyncSource": "false",
|
||||
"cleanOptions": "0",
|
||||
"skipSyncSource": "true",
|
||||
"cleanOptions": "3",
|
||||
"checkoutNestedSubmodules": "false",
|
||||
"labelSourcesFormat": "$(build.buildNumber)"
|
||||
},
|
||||
@@ -458,8 +553,14 @@
|
||||
"quality": "definition",
|
||||
"drafts": [],
|
||||
"queue": {
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://devdiv.visualstudio.com/DefaultCollection/_apis/build/Queues/36"
|
||||
}
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/build/Queues/36",
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
@@ -473,10 +574,10 @@
|
||||
"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. ",
|
||||
"description": "Visual Studio and DevDiv team project for git source code repositories. Work items for Visual Studio and most active DevDiv products are in this account.",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
|
||||
"state": "wellFormed",
|
||||
"revision": 418098432,
|
||||
"revision": 418099111,
|
||||
"visibility": "organization"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,26 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run begin.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "10f1f9a1-74b0-47ab-87bf-e3c9c68e8b0d",
|
||||
"versionSpec": "0.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"type": "InlineScript",
|
||||
"scriptPath": "",
|
||||
"args": "",
|
||||
"cwd": "",
|
||||
"failOnStandardError": "false",
|
||||
"script": "if [ -f \"$AGENTTOOLSPATH/begin.sh\" ]; then echo \"$AGENTTOOLSPATH/begin.sh script found. Executing...\"; $AGENTTOOLSPATH/begin.sh ; else echo \"$AGENTTOOLSPATH/begin.sh script does not exist. Moving on.\" ; fi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -79,7 +100,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"environment": {
|
||||
"PACKAGEVERSIONPROPSURL": "$(PB_PackageVersionPropsUrl)"
|
||||
},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
@@ -175,7 +198,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Agent.BuildDirectory)/s/corefx/Tools/msbuild.sh",
|
||||
"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)\"",
|
||||
"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)\" /p:\"ProductBuildId=$(ProductBuildId)\"",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -245,6 +268,27 @@
|
||||
"Parallel": "false",
|
||||
"ParallelCount": "8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run end.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "10f1f9a1-74b0-47ab-87bf-e3c9c68e8b0d",
|
||||
"versionSpec": "0.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"type": "InlineScript",
|
||||
"scriptPath": "",
|
||||
"args": "",
|
||||
"cwd": "",
|
||||
"failOnStandardError": "false",
|
||||
"script": "if [ -f \"$AGENTTOOLSPATH/end.sh\" ]; then echo \"$AGENTTOOLSPATH/end.sh script found. Executing...\"; $AGENTTOOLSPATH/end.sh ; else echo \"$AGENTTOOLSPATH/end.sh script does not exist. Moving on.\" ; fi"
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
@@ -291,10 +335,22 @@
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OutputCloudResultsAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"HelixApiAccessKey": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"ProductBuildId": {
|
||||
"value": "",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
@@ -315,7 +371,8 @@
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://github.com/dotnet/corefx"
|
||||
"value": "https://github.com/dotnet/corefx",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"value": "-buildArch=x64 -Release",
|
||||
@@ -338,13 +395,16 @@
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_PackageVersionPropsUrl": {
|
||||
"value": ""
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PACKAGEVERSIONPROPSURL": {
|
||||
"value": "$(PB_PackageVersionPropsUrl)"
|
||||
"PB_RestoreSource": {
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_AssetRootUrl": {
|
||||
"value": ""
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -367,7 +427,7 @@
|
||||
],
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
|
||||
"jobAuthorizationScope": "projectCollection",
|
||||
"jobTimeoutInMinutes": 60,
|
||||
"jobTimeoutInMinutes": 120,
|
||||
"jobCancelTimeoutInMinutes": 5,
|
||||
"repository": {
|
||||
"properties": {
|
||||
@@ -413,4 +473,4 @@
|
||||
"revision": 418098432,
|
||||
"visibility": "organization"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,28 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run begin.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\begin.ps1\") {\n \"$Env:AgentToolsPath\\begin.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\begin.ps1\n} else {\n \"$Env:AgentToolsPath\\begin.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -80,7 +103,8 @@
|
||||
"signType": "real",
|
||||
"zipSources": "false",
|
||||
"version": "",
|
||||
"feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json"
|
||||
"feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json",
|
||||
"esrpSigning": "$(PB_UseEsrpSigning)"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -104,7 +128,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"environment": {
|
||||
"PACKAGEVERSIONPROPSURL": "$(PB_PackageVersionPropsUrl)"
|
||||
},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
@@ -118,7 +144,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\sync.cmd",
|
||||
"arguments": "$(PB_SyncArguments)",
|
||||
"arguments": "$(PB_SyncArguments) $(PB_OptionalToolingSyncArguments) $(PB_PipelineBuildMSBuildArguments)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -158,7 +184,7 @@
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)\\corefx\\build.cmd",
|
||||
"arguments": "-OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)",
|
||||
"arguments": "-OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments) $(PB_PipelineBuildMSBuildArguments)",
|
||||
"workingFolder": "corefx",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
@@ -183,31 +209,6 @@
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Index symbol sources",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task11",
|
||||
"task": {
|
||||
"id": "0675668a-7bba-4ccb-901d-5ad6554ca653",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SymbolsPath": "",
|
||||
"SearchPattern": "corefx\\bin\\*$(PB_Platform).$(PB_ConfigurationGroup)\\**\\*.pdb",
|
||||
"SymbolsFolder": "",
|
||||
"SkipIndexing": "false",
|
||||
"TreatNotIndexedAsWarning": "false",
|
||||
"SymbolsMaximumWaitTime": "",
|
||||
"SymbolsProduct": "",
|
||||
"SymbolsVersion": "",
|
||||
"SymbolsArtifactName": "Symbols_$(PB_ConfigurationGroup)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -295,30 +296,23 @@
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Build solution corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj",
|
||||
"alwaysRun": true,
|
||||
"displayName": "run end.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "always()",
|
||||
"refName": "Task14",
|
||||
"task": {
|
||||
"id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
|
||||
"versionSpec": "1.*",
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"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)",
|
||||
"clean": "false",
|
||||
"maximumCpuCount": "false",
|
||||
"restoreNugetPackages": "false",
|
||||
"logProjectEvents": "false",
|
||||
"createLogFile": "false"
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\end.ps1\") {\n \"$Env:AgentToolsPath\\end.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\end.ps1\n} else {\n \"$Env:AgentToolsPath\\end.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -398,7 +392,8 @@
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://github.com/dotnet/corefx"
|
||||
"value": "https://github.com/dotnet/corefx",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_SourceBranch": {
|
||||
"value": "master",
|
||||
@@ -424,18 +419,47 @@
|
||||
"value": "-buildArch=x64 -Release -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_OptionalToolingSyncArguments": {
|
||||
"value": "/p:OptionalToolSource=$(PB_OptionalToolSource) /p:OptionalToolSourceUser=$(PB_OptionalToolSourceUser);OptionalToolSourcePassword=$(PB_OptionalToolSourcePAT)"
|
||||
},
|
||||
"PB_OptionalToolSource": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_OptionalToolSourcePAT": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_OptionalToolSourceUser": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_PipelineBuildMSBuildArguments": {
|
||||
"value": "",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_SignType": {
|
||||
"value": "real",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_PackageVersionPropsUrl": {
|
||||
"value": ""
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PACKAGEVERSIONPROPSURL": {
|
||||
"value": "$(PB_PackageVersionPropsUrl)"
|
||||
"PB_RestoreSource": {
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_AssetRootUrl": {
|
||||
"value": ""
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_UseEsrpSigning": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -484,11 +508,17 @@
|
||||
"quality": "definition",
|
||||
"drafts": [],
|
||||
"queue": {
|
||||
"id": 36,
|
||||
"name": "DotNet-Build",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://devdiv.visualstudio.com/DefaultCollection/_apis/build/Queues/330"
|
||||
}
|
||||
},
|
||||
"id": 330,
|
||||
"name": "DotNetCore-Build",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/build/Queues/330",
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
"id": 97,
|
||||
"name": "DotNetCore-Build"
|
||||
}
|
||||
},
|
||||
"id": 5308,
|
||||
@@ -505,4 +535,4 @@
|
||||
"revision": 418098432,
|
||||
"visibility": "organization"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,28 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run begin.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\begin.ps1\") {\n \"$Env:AgentToolsPath\\begin.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\begin.ps1\n} else {\n \"$Env:AgentToolsPath\\begin.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -80,7 +103,8 @@
|
||||
"signType": "real",
|
||||
"zipSources": "false",
|
||||
"version": "",
|
||||
"feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json"
|
||||
"feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json",
|
||||
"esrpSigning": "$(PB_UseEsrpSigning)"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -104,7 +128,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"environment": {
|
||||
"PACKAGEVERSIONPROPSURL": "$(PB_PackageVersionPropsUrl)"
|
||||
},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
@@ -206,7 +232,7 @@
|
||||
"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:TargetQueues=$(PB_TargetQueue) /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:TargetQueues=$(PB_TargetQueue) /p:\"OfficialBuildId=$(OfficialBuildId)\" /p:\"ProductBuildId=$(ProductBuildId)\"",
|
||||
"clean": "false",
|
||||
"maximumCpuCount": "false",
|
||||
"restoreNugetPackages": "false",
|
||||
@@ -234,31 +260,6 @@
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Index symbol sources",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task13",
|
||||
"task": {
|
||||
"id": "0675668a-7bba-4ccb-901d-5ad6554ca653",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"SymbolsPath": "",
|
||||
"SearchPattern": "corefx\\bin\\*$(PB_Platform).$(PB_ConfigurationGroup)\\**\\*.pdb",
|
||||
"SymbolsFolder": "",
|
||||
"SkipIndexing": "false",
|
||||
"TreatNotIndexedAsWarning": "false",
|
||||
"SymbolsMaximumWaitTime": "",
|
||||
"SymbolsProduct": "",
|
||||
"SymbolsVersion": "",
|
||||
"SymbolsArtifactName": "Symbols_$(PB_ConfigurationGroup)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -346,30 +347,23 @@
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Build solution corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj",
|
||||
"alwaysRun": true,
|
||||
"displayName": "run end.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "always()",
|
||||
"refName": "Task16",
|
||||
"task": {
|
||||
"id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
|
||||
"versionSpec": "1.*",
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"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)",
|
||||
"clean": "false",
|
||||
"maximumCpuCount": "false",
|
||||
"restoreNugetPackages": "false",
|
||||
"logProjectEvents": "false",
|
||||
"createLogFile": "false"
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\end.ps1\") {\n \"$Env:AgentToolsPath\\end.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\end.ps1\n} else {\n \"$Env:AgentToolsPath\\end.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -410,10 +404,22 @@
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"HelixApiAccessKey": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OutputCloudResultsAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"ProductBuildId": {
|
||||
"value": "",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_BuildArguments": {
|
||||
"value": "-buildArch=x64 -Release -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"allowOverride": true
|
||||
@@ -487,7 +493,8 @@
|
||||
"value": "dn-bot"
|
||||
},
|
||||
"PB_VsoCorefxGitUrl": {
|
||||
"value": "https://$(PB_VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VsoRepositoryName)/"
|
||||
"value": "https://$(PB_VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(PB_VsoRepositoryName)/",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_VsoRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted"
|
||||
@@ -516,13 +523,20 @@
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_PackageVersionPropsUrl": {
|
||||
"value": ""
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PACKAGEVERSIONPROPSURL": {
|
||||
"value": "$(PB_PackageVersionPropsUrl)"
|
||||
"PB_RestoreSource": {
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_AssetRootUrl": {
|
||||
"value": ""
|
||||
"value": "",
|
||||
"isSecret": true
|
||||
},
|
||||
"PB_UseEsrpSigning": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
@@ -570,11 +584,17 @@
|
||||
"quality": "definition",
|
||||
"drafts": [],
|
||||
"queue": {
|
||||
"id": 36,
|
||||
"name": "DotNet-Build",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://devdiv.visualstudio.com/DefaultCollection/_apis/build/Queues/330"
|
||||
}
|
||||
},
|
||||
"id": 330,
|
||||
"name": "DotNetCore-Build",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/build/Queues/330",
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
"id": 97,
|
||||
"name": "DotNetCore-Build"
|
||||
}
|
||||
},
|
||||
"id": 893,
|
||||
@@ -591,4 +611,4 @@
|
||||
"revision": 418098432,
|
||||
"visibility": "organization"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,47 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run begin.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\begin.ps1\") {\n \"$Env:AgentToolsPath\\begin.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\begin.ps1\n} else {\n \"$Env:AgentToolsPath\\begin.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(VS140COMNTOOLS)\\VsDevCmd.bat",
|
||||
"arguments": "",
|
||||
"modifyEnvironment": "true",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
@@ -24,7 +66,7 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "sync -ab",
|
||||
"displayName": "Sync packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
@@ -36,50 +78,91 @@
|
||||
"scriptName": "",
|
||||
"arguments": "$(PB_CloudDropAccountName) $(CloudDropAccessToken) $(PB_Label)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container",
|
||||
"inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /v:D /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Extract symbol packages; if release branch, archive",
|
||||
"displayName": "symbol packages -> Blob Feed",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'blob'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ConfigGroup $(PB_ConfigurationGroup) -SymPkgGlob $(PB_AzureContainerSymbolPackageGlob) -Branch $(SourceBranch)",
|
||||
"filename": "msbuild",
|
||||
"arguments": "src\\publish.proj /t:PublishSymbolsToAzureBlobFeed /p:PublishSymbols=\"true\" $(FeedPublishArguments)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"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"
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish Symbols to Artifact Services",
|
||||
"displayName": "Publish symbols to msdl",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'msdl'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"task": {
|
||||
"id": "29827cd1-5c33-4ff0-a817-abd46970ffc4",
|
||||
"versionSpec": "0.*",
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"symbolServiceURI": "https://microsoft.artifacts.visualstudio.com/DefaultCollection",
|
||||
"requestName": "$(system.teamProject)/$(Build.BuildNumber)/$(Build.BuildId)",
|
||||
"sourcePath": "$(Pipeline.SourcesDirectory)\\bin\\obj\\SymbolsRequest\\ExtractedPackages",
|
||||
"assemblyPath": "",
|
||||
"toLowerCase": "true",
|
||||
"detailedLog": "true",
|
||||
"expirationInDays": "30",
|
||||
"usePat": "false"
|
||||
"filename": "msbuild",
|
||||
"arguments": "src\\publish.proj /v:D /t:PublishAllSymbols /p:SymbolServerPath=$(PB_MsdlSymbolServerPath) /p:SymbolServerPAT=$(PB_MsdlSymbolServerPAT) /p:SymbolExpirationInDays=$(PB_SymbolExpirationInDays) $(FeedPublishArguments)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish symbols to symweb",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'symweb'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "msbuild",
|
||||
"arguments": "src\\publish.proj /v:D /t:PublishAllSymbols /p:SymbolServerPath=$(PB_SymwebSymbolServerPath) /p:SymbolServerPAT=$(PB_SymwebSymbolServerPAT) /p:SymbolExpirationInDays=$(PB_SymbolExpirationInDays) $(FeedPublishArguments)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "run end.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\end.ps1\") {\n \"$Env:AgentToolsPath\\end.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\end.ps1\n} else {\n \"$Env:AgentToolsPath\\end.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -132,7 +215,7 @@
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_ConfigurationGroup": {
|
||||
"value": "Debug",
|
||||
"value": "Release",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
@@ -141,28 +224,21 @@
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"allowOverride": true,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_BuildConfiguration": {
|
||||
"value": "release"
|
||||
},
|
||||
"PB_BuildPlatform": {
|
||||
"value": "any cpu"
|
||||
"PB_BlobNamePrefix": {
|
||||
"value": "$(PB_PipeBuildIdentifier)/",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Pipeline.SourcesDirectory": {
|
||||
"value": "$(Build.BinariesDirectory)\\pipelineRepository"
|
||||
},
|
||||
"PB_VstsAccountName": {
|
||||
"value": "dagood"
|
||||
"value": "dn-bot"
|
||||
},
|
||||
"PB_VstsRepositoryName": {
|
||||
"value": "DotNet-CoreFX-Trusted",
|
||||
@@ -175,6 +251,14 @@
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"AzureContainerSymbolPackageDirectory": {
|
||||
"value": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\symbols",
|
||||
"allowOverride": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
@@ -183,34 +267,39 @@
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_AzureContainerSymbolPackageGlob": {
|
||||
"value": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\symbols\\*.nupkg",
|
||||
"FeedPublishArguments": {
|
||||
"value": "$(PB_BuildOutputManifestArguments) /p:AccountKey=$(PB_PublishBlobFeedKey) /p:ExpectedFeedUrl=$(PB_PublishBlobFeedUrl) /p:ConfigurationGroup=$(PB_ConfigurationGroup)"
|
||||
},
|
||||
"PB_PublishBlobFeedUrl": {
|
||||
"value": "",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_DotNetCoreShareDir": {
|
||||
"value": "passed-by-pipebuild",
|
||||
"allowOverride": true
|
||||
"PB_PublishBlobFeedKey": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"SymbolsProject": {
|
||||
"value": "CLR"
|
||||
"PB_PublishType": {
|
||||
"value": ""
|
||||
},
|
||||
"SymbolsStatusMail": {
|
||||
"value": "dagood;mawilkie"
|
||||
"PB_BuildOutputManifestArguments": {
|
||||
"value": "/p:ManifestBuildId=$(OfficialBuildId) /p:ManifestBranch=$(SourceBranch) /p:ManifestCommit=$(SourceVersion)"
|
||||
},
|
||||
"SymbolsUserName": {
|
||||
"value": "dlab"
|
||||
"PB_MsdlSymbolServerPath": {
|
||||
"value": "https://microsoftpublicsymbols.artifacts.visualstudio.com/DefaultCollection"
|
||||
},
|
||||
"SymbolsRelease": {
|
||||
"value": "rtm"
|
||||
"PB_MsdlSymbolServerPAT": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"SymbolsProductGroup": {
|
||||
"value": "Visual_Studio"
|
||||
"PB_SymwebSymbolServerPath": {
|
||||
"value": "https://microsoft.artifacts.visualstudio.com/DefaultCollection"
|
||||
},
|
||||
"SymbolsProductName": {
|
||||
"value": "dotnetcore"
|
||||
"PB_SymwebSymbolServerPAT": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"SymbolPublishDestinationDir": {
|
||||
"value": "$(PB_DotNetCoreShareDir)\\$(PB_VstsRepositoryName)\\$(PB_Label)\\"
|
||||
"PB_SymbolExpirationInDays": {
|
||||
"value": "30"
|
||||
}
|
||||
},
|
||||
"retentionRules": [
|
||||
@@ -273,4 +362,4 @@
|
||||
"state": "wellFormed",
|
||||
"revision": 418097642
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,28 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run begin.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\begin.ps1\") {\n \"$Env:AgentToolsPath\\begin.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\begin.ps1\n} else {\n \"$Env:AgentToolsPath\\begin.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -8,7 +31,6 @@
|
||||
"displayName": "Install Signing Plugin",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
|
||||
"refName": "Task1",
|
||||
"task": {
|
||||
"id": "30666190-6959-11e5-9f96-f56098202fef",
|
||||
"versionSpec": "1.*",
|
||||
@@ -18,7 +40,8 @@
|
||||
"signType": "real",
|
||||
"zipSources": "true",
|
||||
"version": "",
|
||||
"feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json"
|
||||
"feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json",
|
||||
"esrpSigning": "$(PB_UseEsrpSigning)"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -28,7 +51,6 @@
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task2",
|
||||
"task": {
|
||||
"id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
|
||||
"versionSpec": "1.*",
|
||||
@@ -47,9 +69,8 @@
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Fetch custom tooling (NuGet, EmbedIndex)",
|
||||
"displayName": "Fetch custom tooling (NuGet)",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task3",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
@@ -71,7 +92,6 @@
|
||||
"alwaysRun": false,
|
||||
"displayName": "Set up pipeline-specific git repository",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task4",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
@@ -87,13 +107,11 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "sync -ab",
|
||||
"displayName": "Sync packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task5",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
@@ -104,55 +122,10 @@
|
||||
"scriptName": "",
|
||||
"arguments": "$(PB_CloudDropAccountName) $(CloudDropAccessToken) $(PB_Label)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container",
|
||||
"inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /v:D /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Inject signed symbol catalogs",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "succeeded()",
|
||||
"refName": "Task6",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ConfigGroup $(PB_ConfigurationGroup) -SymPkgGlob $(PB_AzureContainerSymbolPackageGlob) -PipelineSrcDir $(Pipeline.SourcesDirectory) -SignType $(PB_SignType)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($ConfigGroup, $SymPkgGlob, $PipelineSrcDir, $SignType=\"unset\" )\n\nif ($SignType.ToLower() -ne \"real\" ) { Write-host \"Chose not to sign symbol catalogs\"; exit }\n\n\n.\\build-managed.cmd -- /t:InjectSignedSymbolCatalogIntoSymbolPackages `\n/p:SymbolPackagesToPublishGlob=$PipelineSrcDir\\packages\\AzureTransfer\\$ConfigGroup\\$SymPkgGlob `\n/p:SymbolCatalogCertificateId=400",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Index symbol packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task7",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ConfigGroup $(PB_ConfigurationGroup) -SymPkgGlob $(PB_AzureContainerSymbolPackageGlob) -PipelineSrcDir $(Pipeline.SourcesDirectory)",
|
||||
"workingFolder": "",
|
||||
"inlineScript": "param($ConfigGroup, $SymPkgGlob, $PipelineSrcDir)\nif ($ConfigGroup -ne \"Release\") { exit }\n\n& $env:Build_SourcesDirectory\\scripts\\DotNet-Trusted-Publish\\Embed-Index.ps1 `\n $PipelineSrcDir\\packages\\AzureTransfer\\$ConfigGroup\\$SymPkgGlob `\n $env:Build_StagingDirectory\\IndexedSymbolPackages",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -160,7 +133,6 @@
|
||||
"alwaysRun": false,
|
||||
"displayName": "Generate Version Assets",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task8",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
@@ -175,6 +147,26 @@
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Sign Packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "msbuild",
|
||||
"arguments": "src\\publish.proj /t:SignPackages /p:SignType=$(PB_SignType) /p:ConfigurationGroup=$(PB_ConfigurationGroup)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -183,7 +175,6 @@
|
||||
"displayName": "packages -> dotnet.myget.org",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'myget'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"refName": "Task9",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
@@ -192,7 +183,7 @@
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ApiKey $(MyGetApiKey) -PackagesGlob $(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\$(PB_AzureContainerPackageGlob) -MyGetFeedUrl $(PB_MyGetFeedUrl)",
|
||||
"arguments": "-ApiKey $(MyGetApiKey) -PackagesGlob $(AzureContainerPackageDirectory)\\$(AzureContainerPackageGlob) -MyGetFeedUrl $(PB_MyGetFeedUrl)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($ApiKey, $PackagesGlob, $MyGetFeedUrl)\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"
|
||||
@@ -206,7 +197,6 @@
|
||||
"displayName": "packages -> Blob Feed",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'blob'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"refName": "CmdLine1",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
@@ -219,50 +209,6 @@
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "symbol packages -> dotnet.myget.org",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'myget'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"refName": "Task11",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(PB_ConfigurationGroup) -PackagesGlob $(Build.StagingDirectory)\\IndexedSymbolPackages\\*.nupkg -MyGetFeedUrl $(PB_MyGetFeedUrl)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($ApiKey, $ConfigurationGroup, $PackagesGlob, $MyGetFeedUrl)\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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "symbol packages -> Blob Feed",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'blob'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"refName": "CmdLine2",
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "msbuild",
|
||||
"arguments": "src\\publish.proj /t:PublishSymbolsToAzureBlobFeed /p:PublishSymbols=\"true\" $(FeedPublishArguments)",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
@@ -271,7 +217,6 @@
|
||||
"displayName": "Update versions repository",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "and(succeeded(), contains(variables.PB_PublishType, 'versions'), eq(variables.PB_ConfigurationGroup, 'Release'))",
|
||||
"refName": "Task13",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
@@ -280,7 +225,7 @@
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-ghAuthToken $(PB_DotNetBuildBotAccessToken) -root $(Pipeline.SourcesDirectory) -cg $(PB_ConfigurationGroup) -fullPkgGlob $(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\$(PB_AzureContainerPackageGlob) ",
|
||||
"arguments": "-ghAuthToken $(PB_DotNetBuildBotAccessToken) -root $(Pipeline.SourcesDirectory) -cg $(PB_ConfigurationGroup) -fullPkgGlob $(AzureContainerPackageDirectory)\\$(AzureContainerPackageGlob)",
|
||||
"workingFolder": "",
|
||||
"inlineScript": "param($ghAuthToken, $root, $cg, $fullPkgGlob, $SignType=\"unset\")\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",
|
||||
"failOnStandardError": "true"
|
||||
@@ -293,7 +238,6 @@
|
||||
"alwaysRun": false,
|
||||
"displayName": "Get Build Number",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task14",
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "1.*",
|
||||
@@ -315,7 +259,6 @@
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish to Artifact Services Drop",
|
||||
"timeoutInMinutes": 0,
|
||||
"refName": "Task15",
|
||||
"task": {
|
||||
"id": "f9d96d25-0c81-4e77-8282-1ad1f785cbb4",
|
||||
"versionSpec": "0.*",
|
||||
@@ -341,13 +284,35 @@
|
||||
"displayName": "Send Telemetry",
|
||||
"timeoutInMinutes": 0,
|
||||
"condition": "always()",
|
||||
"refName": "Task16",
|
||||
"task": {
|
||||
"id": "521a94ea-9e68-468a-8167-6dcf361ea776",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "run end.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\end.ps1\") {\n \"$Env:AgentToolsPath\\end.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\end.ps1\n} else {\n \"$Env:AgentToolsPath\\end.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
@@ -388,25 +353,23 @@
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_ConfigurationGroup": {
|
||||
"value": "Debug",
|
||||
"value": "Release",
|
||||
"allowOverride": true
|
||||
},
|
||||
"TeamName": {
|
||||
"value": "DotNetCore"
|
||||
},
|
||||
"PB_CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
"value": "dotnetbuildoutput",
|
||||
"allowOverride": true
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_Label": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"PB_BlobNamePrefix": {
|
||||
"value": "$(PB_PipeBuildIdentifier)/",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_MyGetFeedUrl": {
|
||||
@@ -417,9 +380,8 @@
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"VstsPat": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
"TeamName": {
|
||||
"value": "DotNetCore"
|
||||
},
|
||||
"PB_VstsAuthedNuGetConfigPath": {
|
||||
"value": "$(Build.StagingDirectory)\\VstsAuthed.NuGet.Config"
|
||||
@@ -450,15 +412,9 @@
|
||||
"PB_ManualReleaseName": {
|
||||
"value": ""
|
||||
},
|
||||
"OfficialBuild": {
|
||||
"value": "fake-test"
|
||||
},
|
||||
"PB_BranchGroup": {
|
||||
"value": ""
|
||||
},
|
||||
"PB_SymbolRoot": {
|
||||
"value": "\\\\fake\\symbol\\root"
|
||||
},
|
||||
"PB_DefinitionNames": {
|
||||
"value": "Fake-Windows Fake-Windows-Native"
|
||||
},
|
||||
@@ -486,6 +442,18 @@
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"AzureContainerPackageDirectory": {
|
||||
"value": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"AzureContainerPackageGlob": {
|
||||
"value": "*.nupkg",
|
||||
"allowOverride": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
@@ -497,25 +465,10 @@
|
||||
"FeedPublishArguments": {
|
||||
"value": "$(PB_BuildOutputManifestArguments) /p:AccountKey=$(PB_PublishBlobFeedKey) /p:ExpectedFeedUrl=$(PB_PublishBlobFeedUrl) /p:ConfigurationGroup=$(PB_ConfigurationGroup)"
|
||||
},
|
||||
"PB_AzureContainerPackageGlob": {
|
||||
"value": "*.nupkg",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_AzureContainerSymbolPackageGlob": {
|
||||
"value": "symbols\\*.nupkg",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_GitHubRepositoryName": {
|
||||
"value": "corefx",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_UseLegacyBuildScripts": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"PB_ToolPackageSource": {
|
||||
"value": "https://www.myget.org/F/dagood-test-buildtools/api/v3/index.json"
|
||||
},
|
||||
"PB_PublishBlobFeedUrl": {
|
||||
"value": "",
|
||||
"allowOverride": true
|
||||
@@ -529,6 +482,10 @@
|
||||
},
|
||||
"PB_BuildOutputManifestArguments": {
|
||||
"value": "/p:ManifestBuildId=$(OfficialBuildId) /p:ManifestBranch=$(SourceBranch) /p:ManifestCommit=$(SourceVersion)"
|
||||
},
|
||||
"PB_UseEsrpSigning": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
}
|
||||
},
|
||||
"retentionRules": [
|
||||
|
@@ -1,5 +1,28 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"displayName": "run begin.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"alwaysRun": true,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\begin.ps1\") {\n \"$Env:AgentToolsPath\\begin.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\begin.ps1\n} else {\n \"$Env:AgentToolsPath\\begin.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
@@ -113,6 +136,29 @@
|
||||
"detailedLog": "false",
|
||||
"usePat": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"environment": {},
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": true,
|
||||
"displayName": "run end.ps1",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "2.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"targetType": "inline",
|
||||
"filePath": "",
|
||||
"arguments": "",
|
||||
"script": "if (Test-Path \"$Env:AgentToolsPath\\end.ps1\") {\n \"$Env:AgentToolsPath\\end.ps1 script found. Executing...\"\n & $Env:AgentToolsPath\\end.ps1\n} else {\n \"$Env:AgentToolsPath\\end.ps1 script does not exist. Moving on...\"\n}",
|
||||
"errorActionPreference": "continue",
|
||||
"failOnStderr": "false",
|
||||
"ignoreLASTEXITCODE": "true",
|
||||
"workingDirectory": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
@@ -261,4 +307,4 @@
|
||||
"state": "wellFormed",
|
||||
"revision": 418097423
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -17,13 +17,13 @@ simpleDockerNode('microsoft/dotnet-buildtools-prereqs:alpine-3.6-3148f11-2017111
|
||||
}
|
||||
stage ('Generate version assets') {
|
||||
// Generate the version assets. Do we need to even do this for non-official builds?
|
||||
sh "./build-managed.sh -runtimeos=alpine.3.6 -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true /p:PortableBuild=false"
|
||||
sh "./build-managed.sh -runtimeos=linux-musl -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true /p:PortableBuild=false"
|
||||
}
|
||||
stage ('Sync') {
|
||||
sh "./sync.sh -p -runtimeos=alpine.3.6 -- /p:ArchGroup=x64 /p:PortableBuild=false"
|
||||
sh "./sync.sh -p -runtimeos=linux-musl -- /p:ArchGroup=x64 /p:PortableBuild=false"
|
||||
}
|
||||
stage ('Build Product') {
|
||||
sh "./build.sh -buildArch=x64 -runtimeos=alpine.3.6 -${params.CGroup} -- /p:PortableBuild=false"
|
||||
sh "./build.sh -buildArch=x64 -runtimeos=linux-musl -${params.CGroup} -- /p:PortableBuild=false"
|
||||
}
|
||||
stage ('Build Tests') {
|
||||
def additionalArgs = ''
|
50
external/corefx/buildpipeline/linux.arm64.groovy
vendored
Normal file
50
external/corefx/buildpipeline/linux.arm64.groovy
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
@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
|
||||
|
||||
simpleDockerNode('microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-cross-arm64-a3ae44b-20180315221921') {
|
||||
stage ('Checkout source') {
|
||||
checkoutRepo()
|
||||
}
|
||||
|
||||
def logFolder = getLogFolder()
|
||||
|
||||
stage ('Initialize tools') {
|
||||
// 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?
|
||||
sh "./build-managed.sh -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
|
||||
}
|
||||
stage ('Sync') {
|
||||
sh "./sync.sh -p -BuildTests=false -- /p:ArchGroup=arm64"
|
||||
}
|
||||
// For arm64 cross builds we split the 'Build Product' build.sh command into 3 separate parts
|
||||
stage ('Build Native') {
|
||||
sh """
|
||||
export ROOTFS_DIR=/crossrootfs/arm64
|
||||
./build-native.sh -buildArch=arm64 -${params.CGroup}
|
||||
"""
|
||||
}
|
||||
stage ('Build Managed') {
|
||||
// Cross build builds Linux Managed components using x64 target
|
||||
// We do not want x64 packages
|
||||
sh "./build-managed.sh -BuildPackages=false -buildArch=x64 -${params.CGroup}"
|
||||
}
|
||||
stage ('Build Packages') {
|
||||
sh "./build-packages.sh -buildArch=arm64 -${params.CGroup}"
|
||||
}
|
||||
|
||||
// TODO: Build Tests for arm64 when possible
|
||||
|
||||
// TODO: Add submission for Helix testing once we have queue for arm64 Linux working
|
||||
}
|
||||
|
||||
// TODO: Add "Execute tests" stage once we have queue for arm64 Linux working
|
13
external/corefx/buildpipeline/linux.groovy
vendored
13
external/corefx/buildpipeline/linux.groovy
vendored
@@ -47,16 +47,17 @@ simpleDockerNode('microsoft/dotnet-buildtools-prereqs:rhel7_prereqs_2') {
|
||||
// Get the user that should be associated with the submission
|
||||
def helixCreator = getUser()
|
||||
// Target queues
|
||||
def targetHelixQueues = ['Centos.73.Amd64.Open',
|
||||
'RedHat.73.Amd64.Open',
|
||||
def targetHelixQueues = ['Centos.74.Amd64.Open',
|
||||
'RedHat.74.Amd64.Open',
|
||||
'Debian.87.Amd64.Open',
|
||||
'Ubuntu.1404.Amd64.Open',
|
||||
'Ubuntu.1604.Amd64.Open',
|
||||
'opensuse.422.amd64.open',
|
||||
'fedora.25.amd64.Open',]
|
||||
'Ubuntu.1804.Amd64.Open',
|
||||
'OpenSuse.423.Amd64.Open',
|
||||
'Fedora.26.Amd64.Open',]
|
||||
if (params.TestOuter) {
|
||||
targetHelixQueues += ['Debian.90.Amd64.Open',
|
||||
'Fedora.26.Amd64.Open',
|
||||
targetHelixQueues += ['Debian.9.Amd64.Open',
|
||||
'Fedora.27.Amd64.Open',
|
||||
'SLES.12.Amd64.Open',]
|
||||
}
|
||||
|
||||
|
60
external/corefx/buildpipeline/pipeline.json
vendored
60
external/corefx/buildpipeline/pipeline.json
vendored
@@ -5,6 +5,11 @@
|
||||
"Type": "VSTS",
|
||||
"BaseUrl": "https://devdiv.visualstudio.com/DefaultCollection"
|
||||
},
|
||||
"PrivateRun": {
|
||||
"property-overrides": {
|
||||
"PB_PublishType": ""
|
||||
}
|
||||
},
|
||||
"Pipelines": [
|
||||
{
|
||||
"Name": "Trusted-All-Linux",
|
||||
@@ -15,10 +20,10 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Linux",
|
||||
"Parameters": {
|
||||
"PB_DockerTag": "centos-7-d485f41-20173404063424",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -stripSymbols",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -stripSymbols -- /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -- /p:ArchiveTests=true /p:EnableDumpling=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "Centos.73.Amd64+RedHat.72.Amd64+RedHat.73.Amd64+Debian.87.Amd64+Debian.90.Amd64+Ubuntu.1404.Amd64+Ubuntu.1604.Amd64+Ubuntu.1704.Amd64+Ubuntu.1710.Amd64+suse.422.amd64+SLES.12.Amd64+fedora.25.amd64+Fedora.26.Amd64",
|
||||
"PB_TargetQueue": "Centos.73.Amd64+Centos.74.Amd64+RedHat.73.Amd64+RedHat.74.Amd64+Debian.87.Amd64+Debian.90.Amd64+Ubuntu.1404.Amd64+Ubuntu.1604.Amd64+Ubuntu.1710.Amd64+Ubuntu.1804.Amd64+OpenSuse.423.Amd64+SLES.12.Amd64+Fedora.26.Amd64+Fedora.27.Amd64",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
@@ -31,7 +36,7 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Linux",
|
||||
"Parameters": {
|
||||
"PB_DockerTag": "centos-6-376e1a3-20174311014331",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -stripSymbols -RuntimeOS=rhel.6 -- /p:PortableBuild=false",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -stripSymbols -RuntimeOS=rhel.6 -- /p:PortableBuild=false /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -RuntimeOS=rhel.6 -- /p:ArchiveTests=true /p:EnableDumpling=true /p:PortableBuild=false",
|
||||
"PB_SyncArguments": "-p -RuntimeOS=rhel.6 -- /p:ArchGroup=x64 /p:PortableBuild=false /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "RedHat.69.Amd64",
|
||||
@@ -47,16 +52,14 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Linux",
|
||||
"Parameters": {
|
||||
"PB_DockerTag": "alpine-3.6-3148f11-20171119021156",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -BuildTests=false -stripSymbols -RuntimeOS=alpine.3.6 -- /p:PortableBuild=false",
|
||||
"PB_SkipTestBuild" : "true",
|
||||
"PB_BuildTestsArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -RuntimeOS=alpine.3.6 -- /p:ArchiveTests=false /p:EnableDumpling=true /p:PortableBuild=false",
|
||||
"PB_SyncArguments": "-p -BuildTests=false -RuntimeOS=alpine.3.6 -- /p:ArchGroup=x64 /p:PortableBuild=false /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -stripSymbols -RuntimeOS=linux-musl -- /p:PortableBuild=false /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -RuntimeOS=linux-musl -- /p:ArchiveTests=true /p:EnableDumpling=true /p:PortableBuild=false",
|
||||
"PB_SyncArguments": "-p -BuildTests=false -RuntimeOS=linux-musl -- /p:ArchGroup=x64 /p:PortableBuild=false /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "Alpine.36.Amd64",
|
||||
"PB_EnableCloudTest" : "false",
|
||||
"PB_CreateHelixArguments": "/p:EnableCloudTest=$(PB_EnableCloudTest) /p:ArchGroup=x64 /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux"
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Alpine3.6",
|
||||
"OperatingSystem": "Linux-musl",
|
||||
"Platform": "x64",
|
||||
"Type": "build/product/"
|
||||
}
|
||||
@@ -66,7 +69,7 @@
|
||||
"Parameters": {
|
||||
"PB_DockerTag": "ubuntu-14.04-cross-0cd4667-20170319080304",
|
||||
"PB_Architecture": "arm",
|
||||
"PB_BuildArguments": "-buildArch=arm -$(PB_ConfigurationGroup) -stripSymbols",
|
||||
"PB_BuildArguments": "-buildArch=arm -$(PB_ConfigurationGroup) -stripSymbols -- /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
@@ -74,6 +77,21 @@
|
||||
"Platform": "arm",
|
||||
"Type": "build/product/"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreFx-Trusted-Linux-Crossbuild",
|
||||
"Parameters": {
|
||||
"PB_DockerTag": "ubuntu-16.04-cross-arm64-a3ae44b-20180315221921",
|
||||
"PB_Architecture": "arm64",
|
||||
"PB_BuildArguments": "-buildArch=arm64 -$(PB_ConfigurationGroup) -stripSymbols -- /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildManagedArguments": "-BuildPackages=false -buildArch=arm64 -$(PB_ConfigurationGroup) -stripSymbols -- /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_SyncArguments": "-p -BuildTests=false -- /p:ArchGroup=arm64 /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Linux",
|
||||
"Platform": "arm64",
|
||||
"Type": "build/product/"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -91,7 +109,7 @@
|
||||
"Definitions": [{
|
||||
"Name": "DotNet-CoreFx-Trusted-OSX",
|
||||
"Parameters": {
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup)",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -- /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "OSX.1012.Amd64+OSX.1013.Amd64",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=OSX"
|
||||
@@ -117,7 +135,7 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "arm",
|
||||
"PB_BuildArguments": "-buildArch=arm -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"PB_BuildArguments": "-buildArch=arm -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10 /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-buildArch=arm -$(PB_ConfigurationGroup) -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm /p:RuntimeOS=win10 /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=arm /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:EnableCloudTest=false /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT"
|
||||
@@ -133,7 +151,7 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "arm64",
|
||||
"PB_BuildArguments": "-buildArch=arm64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"PB_BuildArguments": "-buildArch=arm64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10 /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-buildArch=arm64 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=arm64 /p:RuntimeOS=win10 /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=arm64 /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:EnableCloudTest=false /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT"
|
||||
@@ -149,7 +167,7 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "x64",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"PB_BuildArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10 /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-buildArch=x64 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10 /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "Windows.10.Amd64+Windows.10.Nano.Amd64+Windows.10.Amd64.Core+Windows.7.Amd64+Windows.81.Amd64",
|
||||
@@ -166,7 +184,7 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "x86",
|
||||
"PB_BuildArguments": "-buildArch=x86 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"PB_BuildArguments": "-buildArch=x86 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10 /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-buildArch=x86 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10 /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "Windows.10.Amd64+Windows.10.Amd64.Core+Windows.7.Amd64+Windows.81.Amd64",
|
||||
@@ -299,7 +317,7 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows-NoTest",
|
||||
"Parameters": {
|
||||
"PB_Platform": "x64",
|
||||
"PB_BuildArguments": "-allConfigurations -buildArch=x64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"PB_BuildArguments": "-allConfigurations -buildArch=x64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10 /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10 /p:BuildAllConfigurations=true /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
@@ -313,10 +331,10 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "x64",
|
||||
"PB_BuildArguments": "-framework=netfx -buildArch=x64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"PB_BuildArguments": "-framework=netfx -buildArch=x64 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10 /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-framework=netfx -buildArch=x64 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10 /p:TargetGroup=netfx /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "Windows.10.Amd64",
|
||||
"PB_TargetQueue": "Windows.10.Amd64.ClientRS2",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x64 /p:TargetGroup=netfx /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/desktop/cli/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
@@ -330,10 +348,10 @@
|
||||
"Name": "DotNet-CoreFx-Trusted-Windows",
|
||||
"Parameters": {
|
||||
"PB_Platform": "x86",
|
||||
"PB_BuildArguments": "-framework=netfx -buildArch=x86 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10",
|
||||
"PB_BuildArguments": "-framework=netfx -buildArch=x86 -$(PB_ConfigurationGroup) -- /p:SignType=$(PB_SignType) /p:RuntimeOS=win10 /p:StabilizePackageVersion=$(PB_IsStable) /p:PackageVersionStamp=$(PB_VersionStamp)",
|
||||
"PB_BuildTestsArguments": "-framework=netfx -buildArch=x86 -$(PB_ConfigurationGroup) -SkipTests -Outerloop -- /p:RuntimeOS=win10 /p:ArchiveTests=true",
|
||||
"PB_SyncArguments": "-p -- /p:ArchGroup=x86 /p:RuntimeOS=win10 /p:TargetGroup=netfx /p:DotNetRestoreSources=$(PB_RestoreSource) /p:DotNetAssetRootUrl=$(PB_AssetRootUrl)",
|
||||
"PB_TargetQueue": "Windows.10.Amd64",
|
||||
"PB_TargetQueue": "Windows.10.Amd64.ClientRS2",
|
||||
"PB_CreateHelixArguments": "/p:ArchGroup=x86 /p:TargetGroup=netfx /p:ConfigurationGroup=$(PB_ConfigurationGroup) /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Windows_NT /p:\"HelixJobType=test/functional/desktop/cli/\""
|
||||
},
|
||||
"ReportingParameters": {
|
||||
|
@@ -15,15 +15,17 @@ def branch = GithubBranchName
|
||||
// **************************
|
||||
|
||||
def linPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/linux.groovy')
|
||||
def linArm64Pipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/linux.arm64.groovy')
|
||||
def centos6Pipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/centos.6.groovy')
|
||||
def alpine36Pipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/alpine.3.6.groovy')
|
||||
def linmuslPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/linux-musl.groovy')
|
||||
def osxPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/osx.groovy')
|
||||
def winPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/windows.groovy')
|
||||
|
||||
def configurations = [
|
||||
['TGroup':"netcoreapp", 'Pipeline':linPipeline, 'Name':'Linux' ,'ForPR':"Release-x64", 'Arch':['x64']],
|
||||
['TGroup':"netcoreapp", 'Pipeline':linArm64Pipeline, 'Name':'Linux' ,'ForPR':"Release-arm64", 'Arch':['arm64']],
|
||||
['TGroup':"netcoreapp", 'Pipeline':centos6Pipeline, 'Name':'CentOS.6' ,'ForPR':"", 'Arch':['x64']],
|
||||
['TGroup':"netcoreapp", 'Pipeline':alpine36Pipeline, 'Name':'Alpine.3.6' ,'ForPR':"Debug-x64", 'Arch':['x64']],
|
||||
['TGroup':"netcoreapp", 'Pipeline':linmuslPipeline, 'Name':'Linux-musl' ,'ForPR':"Debug-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"],
|
||||
|
39
external/corefx/buildpipeline/windows.groovy
vendored
39
external/corefx/buildpipeline/windows.groovy
vendored
@@ -8,7 +8,7 @@
|
||||
// TestOuter - If true, runs outerloop, if false runs just innerloop
|
||||
|
||||
def submittedHelixJson = null
|
||||
def submitToHelix = (params.TGroup == 'netcoreapp' || params.TGroup == 'uap')
|
||||
def submitToHelix = (params.TGroup == 'netcoreapp' || params.TGroup == 'netfx')
|
||||
|
||||
simpleNode('Windows_NT','latest') {
|
||||
stage ('Checkout source') {
|
||||
@@ -23,7 +23,6 @@ simpleNode('Windows_NT','latest') {
|
||||
else {
|
||||
framework = "-framework:${params.TGroup}"
|
||||
}
|
||||
def buildTests = (params.TGroup != 'all')
|
||||
|
||||
stage ('Initialize tools') {
|
||||
// Init tools
|
||||
@@ -38,21 +37,24 @@ simpleNode('Windows_NT','latest') {
|
||||
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'
|
||||
}
|
||||
stage ('Build Tests') {
|
||||
def additionalArgs = ''
|
||||
def archiveTests = 'false'
|
||||
if (params.TestOuter) {
|
||||
additionalArgs += ' -Outerloop'
|
||||
}
|
||||
if (submitToHelix) {
|
||||
archiveTests = 'true'
|
||||
}
|
||||
if (submitToHelix || params.TGroup == 'uap' || params.TGroup == 'uapaot') {
|
||||
additionalArgs += ' -SkipTests'
|
||||
}
|
||||
if (params.TGroup != 'all') {
|
||||
bat ".\\build-tests.cmd ${framework} -buildArch=${params.AGroup} -${params.CGroup}${additionalArgs} -- /p:RuntimeOS=win10 /p:ArchiveTests=${archiveTests}"
|
||||
}
|
||||
else {
|
||||
bat ".\\build-tests.cmd ${framework} -${params.CGroup}${additionalArgs}"
|
||||
}
|
||||
}
|
||||
if (submitToHelix) {
|
||||
stage ('Submit To Helix For Testing') {
|
||||
@@ -72,11 +74,14 @@ simpleNode('Windows_NT','latest') {
|
||||
{
|
||||
targetHelixQueues = ['Windows.10.Amd64.Open',
|
||||
'Windows.7.Amd64.Open',
|
||||
'Windows.81.Amd64.Open']
|
||||
'Windows.81.Amd64.Open',]
|
||||
if (params.AGroup == 'x64') {
|
||||
targetHelixQueues += ['Windows.10.Nano.Amd64.Open']
|
||||
}
|
||||
} else if (params.TGroup == 'uap') {
|
||||
if (params.TestOuter) {
|
||||
targetHelixQueues += ['Windows.10.Amd64.ClientRS3.ES.Open']
|
||||
}
|
||||
} else if (params.TGroup == 'uap' || params.TGroup == 'netfx') {
|
||||
targetHelixQueues = ['Windows.10.Amd64.ClientRS2.Open']
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user