Imported Upstream version 5.10.0.69

Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-29 19:03:06 +00:00
parent d8f8abd549
commit e2950ec768
6283 changed files with 453847 additions and 91879 deletions

View File

@@ -153,7 +153,7 @@
},
"inputs": {
"filename": "docker",
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/sync.sh -p -- /p:ArchGroup=$(PB_Architecture)",
"arguments": "run $(PB_DockerCommonRunArgs) $(PB_DockerVolumeName)/sync.sh $(PB_SyncArguments)",
"workingFolder": "",
"failOnStandardError": "false"
}
@@ -205,6 +205,7 @@
"alwaysRun": true,
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "CopyFiles1",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
@@ -227,6 +228,7 @@
"alwaysRun": true,
"displayName": "Publish Artifact: BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "PublishBuildArtifacts2",
"task": {
"id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe",
@@ -246,9 +248,10 @@
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"alwaysRun": false,
"displayName": "Cleanup Docker",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task12",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -266,9 +269,10 @@
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"alwaysRun": false,
"displayName": "Cleanup VSTS Agent",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task13",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -342,7 +346,7 @@
"value": "Release"
},
"PB_DockerCommonRunArgs": {
"value": "--rm --name $(PB_DockerContainerName) -v \"$(PB_GitDirectory):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" $(PB_DockerImageName)"
"value": "--rm --name $(PB_DockerContainerName) -v \"$(PB_GitDirectory):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" -e \"PACKAGEVERSIONPROPSURL=$(PB_PackageVersionPropsUrl)\" $(PB_DockerImageName)"
},
"PB_DockerContainerName": {
"value": "corefx-cross-$(Build.BuildId)"
@@ -396,6 +400,16 @@
"VsoPassword": {
"value": null,
"isSecret": true
},
"PB_SyncArguments": {
"value": "-p -- /p:ArchGroup=$(PB_Architecture)",
"allowOverride": true
},
"PB_PackageVersionPropsUrl": {
"value": ""
},
"PB_AssetRootUrl": {
"value": ""
}
},
"demands": [
@@ -442,6 +456,7 @@
},
"processParameters": {},
"quality": "definition",
"drafts": [],
"queue": {
"id": 36,
"name": "DotNet-Build",
@@ -461,7 +476,7 @@
"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": 418098167,
"revision": 418098432,
"visibility": "organization"
}
}
}

View File

@@ -85,6 +85,7 @@
"alwaysRun": false,
"displayName": "Create host machine tools sandbox",
"timeoutInMinutes": 0,
"refName": "Task5",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
"versionSpec": "2.*",
@@ -92,7 +93,7 @@
},
"inputs": {
"SourceFolder": "$(PB_GitDirectory)",
"Contents": "init-tools.sh\nBuildToolsVersion.txt\nDotnetCLIVersion.txt\ninit-tools.msbuild",
"Contents": "init-tools.sh\nBuildToolsVersion.txt\nDotnetCLIVersion.txt\ninit-tools.msbuild\ndependencies.props",
"TargetFolder": "$(DockerHost_Sandbox)",
"CleanTargetFolder": "false",
"OverWrite": "false",
@@ -100,6 +101,7 @@
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
@@ -205,6 +207,7 @@
"alwaysRun": false,
"displayName": "Build tests",
"timeoutInMinutes": 0,
"condition": "and(succeeded(), ne(variables.PB_SkipTests, 'true'), ne(variables.PB_SkipTestBuild, 'true'))",
"refName": "Task10",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -225,6 +228,7 @@
"alwaysRun": false,
"displayName": "Create Helix Test Jobs",
"timeoutInMinutes": 0,
"condition": "and(succeeded(), ne(variables.PB_SkipTests, 'true'), ne(variables.PB_EnableCloudTest, 'false'))",
"refName": "Task11",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -265,6 +269,7 @@
"alwaysRun": true,
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "CopyFiles1",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
@@ -287,6 +292,7 @@
"alwaysRun": true,
"displayName": "Publish Artifact: BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "PublishBuildArtifacts2",
"task": {
"id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe",
@@ -306,9 +312,10 @@
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"alwaysRun": false,
"displayName": "Cleanup Docker",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task14",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -326,9 +333,10 @@
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"alwaysRun": false,
"displayName": "Cleanup VSTS Agent",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task15",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -416,7 +424,7 @@
"allowOverride": true
},
"PB_DockerCommonRunArgs": {
"value": "--rm --name $(PB_DockerContainerName) -v \"$(PB_GitDirectory):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" $(PB_DockerImageName)"
"value": "--rm --name $(PB_DockerContainerName) -v \"$(PB_GitDirectory):$(PB_DockerVolumeName)\" -w=\"$(PB_DockerVolumeName)\" -e \"PACKAGEVERSIONPROPSURL=$(PB_PackageVersionPropsUrl)\" $(PB_DockerImageName)"
},
"PB_DockerContainerName": {
"value": "corefx-$(Build.BuildId)"
@@ -471,6 +479,16 @@
"VsoPassword": {
"value": null,
"isSecret": true
},
"PB_SkipTests": {
"value": "false",
"allowOverride": true
},
"PB_PackageVersionPropsUrl": {
"value": ""
},
"PB_AssetRootUrl": {
"value": ""
}
},
"demands": [
@@ -516,6 +534,7 @@
},
"processParameters": {},
"quality": "definition",
"drafts": [],
"queue": {
"id": 36,
"name": "DotNet-Build",
@@ -535,7 +554,7 @@
"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": 418098167,
"revision": 418098432,
"visibility": "organization"
}
}
}

View File

@@ -145,6 +145,7 @@
"alwaysRun": false,
"displayName": "Run $(Agent.BuildDirectory)/s/corefx/build-tests.sh",
"timeoutInMinutes": 0,
"condition": "and(succeeded(), ne(variables.PB_SkipTests, 'true'))",
"refName": "Task8",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -165,6 +166,7 @@
"alwaysRun": false,
"displayName": "Create Helix Test Jobs",
"timeoutInMinutes": 0,
"condition": "and(succeeded(), ne(variables.PB_SkipTests, 'true'), ne(variables.PB_EnableCloudTest, 'false'))",
"refName": "Task9",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -205,6 +207,7 @@
"alwaysRun": true,
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "CopyFiles1",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
@@ -227,6 +230,7 @@
"alwaysRun": true,
"displayName": "Publish Artifact: BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "PublishBuildArtifacts2",
"task": {
"id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe",
@@ -328,6 +332,19 @@
"PB_CreateHelixArguments": {
"value": "/t:CloudBuild /p:ArchGroup=x64 /p:ConfigurationGroup=Release /p:\"EnableCloudTest=true /p:\"TestProduct=corefx /p:\"TimeoutInSeconds=1200\" /p:\"TargetOS=OSX\" /p:FilterToOSGroup=OSX",
"allowOverride": true
},
"PB_SkipTests": {
"value": "false",
"allowOverride": true
},
"PB_PackageVersionPropsUrl": {
"value": ""
},
"PACKAGEVERSIONPROPSURL": {
"value": "$(PB_PackageVersionPropsUrl)"
},
"PB_AssetRootUrl": {
"value": ""
}
},
"demands": [
@@ -373,6 +390,7 @@
},
"processParameters": {},
"quality": "definition",
"drafts": [],
"queue": {
"id": 330,
"name": "DotNetCore-Build",
@@ -392,7 +410,7 @@
"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": 418098167,
"revision": 418098432,
"visibility": "organization"
}
}

View File

@@ -18,7 +18,7 @@
"scriptName": "",
"arguments": "-path $(build.SourcesDirectory)\\corefx",
"workingFolder": "",
"inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild -ErrorAction Ignore -Verbose\n Stop-Process -processname dotnet -ErrorAction Ignore -Verbose\n Stop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }\n",
"inlineScript": "param($path)\nif ($path -and (Test-Path $path)){\nStop-Process -processname msbuild -ErrorAction Ignore -Verbose\nStop-Process -processname dotnet -ErrorAction Ignore -Verbose\nStop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n$emptyFolder = (New-Item -ItemType Directory (Join-Path -Path $env:TEMP -ChildPath ([System.IO.Path]::GetRandomFileName()))).FullName\nrobocopy $emptyFolder $path /purge\nRemove-Item -Recurse -Force $path,$emptyFolder \nexit 0\n}",
"failOnStandardError": "true"
}
},
@@ -69,7 +69,7 @@
"alwaysRun": false,
"displayName": "Install Signing Plugin",
"timeoutInMinutes": 0,
"condition": "ne(variables['PB_SignType'], 'oss')",
"condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
"refName": "Task4",
"task": {
"id": "30666190-6959-11e5-9f96-f56098202fef",
@@ -183,50 +183,6 @@
"failOnStandardError": "false"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
"timeoutInMinutes": 0,
"refName": "CopyFiles1",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
"versionSpec": "2.*",
"definitionType": "task"
},
"inputs": {
"SourceFolder": "$(Build.SourcesDirectory)\\corefx",
"Contents": "*.log",
"TargetFolder": "$(Build.StagingDirectory)\\BuildLogs",
"CleanTargetFolder": "false",
"OverWrite": "false",
"flattenFolders": "false"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "Publish Artifact: BuildLogs",
"timeoutInMinutes": 0,
"refName": "PublishBuildArtifacts2",
"task": {
"id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"PathtoPublish": "$(Build.StagingDirectory)\\BuildLogs",
"ArtifactName": "BuildLogs",
"ArtifactType": "Container",
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)",
"Parallel": "false",
"ParallelCount": "8"
}
},
{
"environment": {},
"enabled": true,
@@ -252,6 +208,52 @@
"SymbolsArtifactName": "Symbols_$(PB_ConfigurationGroup)"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "CopyFiles1",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
"versionSpec": "2.*",
"definitionType": "task"
},
"inputs": {
"SourceFolder": "$(Build.SourcesDirectory)\\corefx",
"Contents": "*.log",
"TargetFolder": "$(Build.StagingDirectory)\\BuildLogs",
"CleanTargetFolder": "false",
"OverWrite": "false",
"flattenFolders": "false"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "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",
"ArtifactName": "BuildLogs",
"ArtifactType": "Container",
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)",
"Parallel": "false",
"ParallelCount": "8"
}
},
{
"environment": {},
"enabled": true,
@@ -259,6 +261,7 @@
"alwaysRun": false,
"displayName": "Execute cleanup tasks",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task12",
"task": {
"id": "521a94ea-9e68-468a-8167-6dcf361ea776",
@@ -274,6 +277,7 @@
"alwaysRun": false,
"displayName": "Final clean to remove any lingering process",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task13",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -294,6 +298,7 @@
"alwaysRun": false,
"displayName": "Build solution corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task14",
"task": {
"id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
@@ -422,6 +427,15 @@
"PB_SignType": {
"value": "real",
"allowOverride": true
},
"PB_PackageVersionPropsUrl": {
"value": ""
},
"PACKAGEVERSIONPROPSURL": {
"value": "$(PB_PackageVersionPropsUrl)"
},
"PB_AssetRootUrl": {
"value": ""
}
},
"demands": [
@@ -468,6 +482,7 @@
},
"processParameters": {},
"quality": "definition",
"drafts": [],
"queue": {
"id": 36,
"name": "DotNet-Build",
@@ -487,7 +502,7 @@
"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": 418098167,
"revision": 418098432,
"visibility": "organization"
}
}
}

View File

@@ -18,7 +18,7 @@
"scriptName": "",
"arguments": "-path $(build.SourcesDirectory)\\corefx",
"workingFolder": "",
"inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild -ErrorAction Ignore -Verbose\n Stop-Process -processname dotnet -ErrorAction Ignore -Verbose\n Stop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }",
"inlineScript": "param($path)\nif ($path -and (Test-Path $path)){\nStop-Process -processname msbuild -ErrorAction Ignore -Verbose\nStop-Process -processname dotnet -ErrorAction Ignore -Verbose\nStop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n$emptyFolder = (New-Item -ItemType Directory (Join-Path -Path $env:TEMP -ChildPath ([System.IO.Path]::GetRandomFileName()))).FullName\nrobocopy $emptyFolder $path /purge\nRemove-Item -Recurse -Force $path,$emptyFolder \nexit 0\n}",
"failOnStandardError": "true"
}
},
@@ -69,7 +69,7 @@
"alwaysRun": false,
"displayName": "Install Signing Plugin",
"timeoutInMinutes": 0,
"condition": "ne(variables['PB_SignType'], 'oss')",
"condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
"refName": "Task4",
"task": {
"id": "30666190-6959-11e5-9f96-f56098202fef",
@@ -170,6 +170,7 @@
"alwaysRun": false,
"displayName": "Run $(Build.SourcesDirectory)\\corefx\\build-tests.cmd",
"timeoutInMinutes": 0,
"condition": "and(succeeded(), ne(variables.PB_SkipTests, 'true'))",
"refName": "Task9",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -190,6 +191,7 @@
"alwaysRun": false,
"displayName": "Create Helix Test Jobs",
"timeoutInMinutes": 0,
"condition": "and(succeeded(), ne(variables.PB_SkipTests, 'true'), ne(variables.PB_EnableCloudTest, 'false'))",
"refName": "Task10",
"task": {
"id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
@@ -232,50 +234,6 @@
"failOnStandardError": "false"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
"timeoutInMinutes": 0,
"refName": "CopyFiles1",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
"versionSpec": "2.*",
"definitionType": "task"
},
"inputs": {
"SourceFolder": "$(Build.SourcesDirectory)\\corefx",
"Contents": "*.log",
"TargetFolder": "$(Build.StagingDirectory)\\BuildLogs",
"CleanTargetFolder": "false",
"OverWrite": "false",
"flattenFolders": "false"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "Publish Artifact: BuildLogs",
"timeoutInMinutes": 0,
"refName": "PublishBuildArtifacts2",
"task": {
"id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"PathtoPublish": "$(Build.StagingDirectory)\\BuildLogs",
"ArtifactName": "BuildLogs",
"ArtifactType": "Container",
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)",
"Parallel": "false",
"ParallelCount": "8"
}
},
{
"environment": {},
"enabled": true,
@@ -301,6 +259,52 @@
"SymbolsArtifactName": "Symbols_$(PB_ConfigurationGroup)"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
"timeoutInMinutes": 0,
"condition": "succeededOrFailed()",
"refName": "CopyFiles1",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
"versionSpec": "2.*",
"definitionType": "task"
},
"inputs": {
"SourceFolder": "$(Build.SourcesDirectory)\\corefx",
"Contents": "*.log",
"TargetFolder": "$(Build.StagingDirectory)\\BuildLogs",
"CleanTargetFolder": "false",
"OverWrite": "false",
"flattenFolders": "false"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": true,
"displayName": "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",
"ArtifactName": "BuildLogs",
"ArtifactType": "Container",
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)",
"Parallel": "false",
"ParallelCount": "8"
}
},
{
"environment": {},
"enabled": true,
@@ -308,6 +312,7 @@
"alwaysRun": false,
"displayName": "Execute cleanup tasks",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task14",
"task": {
"id": "521a94ea-9e68-468a-8167-6dcf361ea776",
@@ -323,6 +328,7 @@
"alwaysRun": false,
"displayName": "Final clean to remove any lingering process",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task15",
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
@@ -343,6 +349,7 @@
"alwaysRun": false,
"displayName": "Build solution corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task16",
"task": {
"id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
@@ -503,6 +510,19 @@
"PB_SignType": {
"value": "real",
"allowOverride": true
},
"PB_SkipTests": {
"value": "false",
"allowOverride": true
},
"PB_PackageVersionPropsUrl": {
"value": ""
},
"PACKAGEVERSIONPROPSURL": {
"value": "$(PB_PackageVersionPropsUrl)"
},
"PB_AssetRootUrl": {
"value": ""
}
},
"demands": [
@@ -548,6 +568,7 @@
},
"processParameters": {},
"quality": "definition",
"drafts": [],
"queue": {
"id": 36,
"name": "DotNet-Build",
@@ -567,7 +588,7 @@
"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": 418098167,
"revision": 418098432,
"visibility": "organization"
}
}
}

View File

@@ -1,12 +1,14 @@
{
"build": [
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Install Signing Plugin",
"timeoutInMinutes": 0,
"condition": "and(succeeded(), ne(variables['PB_SignType'], 'oss'))",
"condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
"refName": "Task1",
"task": {
"id": "30666190-6959-11e5-9f96-f56098202fef",
"versionSpec": "1.*",
@@ -20,11 +22,13 @@
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
"timeoutInMinutes": 0,
"refName": "Task2",
"task": {
"id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
"versionSpec": "1.*",
@@ -39,11 +43,13 @@
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Fetch custom tooling (NuGet, EmbedIndex)",
"timeoutInMinutes": 0,
"refName": "Task3",
"task": {
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
"versionSpec": "1.*",
@@ -53,17 +59,19 @@
"scriptType": "filePath",
"scriptName": "scripts/DotNet-Trusted-Publish/Fetch-Tools.ps1",
"arguments": "$(Build.StagingDirectory)\\ToolingDownload",
"inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
"workingFolder": "",
"inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
"failOnStandardError": "true"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Set up pipeline-specific git repository",
"timeoutInMinutes": 0,
"refName": "Task4",
"task": {
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
"versionSpec": "1.*",
@@ -73,17 +81,19 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "-gitUrl $(PB_VstsRepoGitUrl) -root $(Pipeline.SourcesDirectory)",
"inlineScript": "param($gitUrl, $root)\n\nif (Test-Path $root)\n{\n Remove-Item -Recurse -Force $root\n}\ngit clone --no-checkout $gitUrl $root 2>&1 | Write-Host\ncd $root\ngit checkout $env:SourceVersion 2>&1 | Write-Host\n\nWrite-Host (\"##vso[task.setvariable variable=Pipeline.SourcesDirectory;]$root\")",
"workingFolder": "",
"inlineScript": "param($gitUrl, $root)\n\nif (Test-Path $root)\n{\n Remove-Item -Recurse -Force $root\n}\ngit clone --no-checkout $gitUrl $root 2>&1 | Write-Host\ncd $root\ngit checkout $env:SourceVersion 2>&1 | Write-Host\n\nWrite-Host (\"##vso[task.setvariable variable=Pipeline.SourcesDirectory;]$root\")",
"failOnStandardError": "true"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "sync -ab",
"timeoutInMinutes": 0,
"refName": "Task5",
"task": {
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
"versionSpec": "1.*",
@@ -93,18 +103,20 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "$(PB_CloudDropAccountName) $(CloudDropAccessToken) $(PB_Label)",
"inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container",
"workingFolder": "$(Pipeline.SourcesDirectory)",
"inlineScript": "param($account, $token, $container)\n.\\sync.cmd -ab -- /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.*",
@@ -120,11 +132,13 @@
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Index symbol packages",
"timeoutInMinutes": 0,
"refName": "Task7",
"task": {
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
"versionSpec": "1.*",
@@ -134,17 +148,19 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "-ConfigGroup $(PB_ConfigurationGroup) -SymPkgGlob $(PB_AzureContainerSymbolPackageGlob) -PipelineSrcDir $(Pipeline.SourcesDirectory)",
"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",
"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,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Generate Version Assets",
"timeoutInMinutes": 0,
"refName": "Task8",
"task": {
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
"versionSpec": "1.*",
@@ -154,17 +170,20 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "-OfficialBuildId $(OfficialBuildId)",
"inlineScript": "param($OfficialBuildId)\n msbuild build.proj /t:CreateOrUpdateCurrentVersionFile /p:OfficialBuildId=$OfficialBuildId /p:BuildVersionFile=bin\\obj\\BuildVersion-$OfficialBuildId.props",
"workingFolder": "$(Pipeline.SourcesDirectory)",
"inlineScript": "param($OfficialBuildId)\n msbuild build.proj /t:CreateOrUpdateCurrentVersionFile /p:OfficialBuildId=$OfficialBuildId /p:BuildVersionFile=bin\\obj\\BuildVersion-$OfficialBuildId.props",
"failOnStandardError": "true"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"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.*",
@@ -173,18 +192,42 @@
"inputs": {
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(PB_ConfigurationGroup) -PackagesGlob $(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\$(PB_AzureContainerPackageGlob) -MyGetFeedUrl $(PB_MyGetFeedUrl)",
"arguments": "-ApiKey $(MyGetApiKey) -PackagesGlob $(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(PB_ConfigurationGroup)\\$(PB_AzureContainerPackageGlob) -MyGetFeedUrl $(PB_MyGetFeedUrl)",
"workingFolder": "$(Pipeline.SourcesDirectory)",
"inlineScript": "param($ApiKey, $ConfigurationGroup, $PackagesGlob, $MyGetFeedUrl, $SignType=\"unset\")\n\nif ($ConfigurationGroup.ToLower() -ne \"release\" ) { Write-host \"Chose not to publish\"; 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",
"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"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"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.*",
"definitionType": "task"
},
"inputs": {
"filename": "msbuild",
"arguments": "src\\publish.proj /t:PublishToAzureBlobFeed $(FeedPublishArguments)",
"workingFolder": "$(Pipeline.SourcesDirectory)",
"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.*",
@@ -195,16 +238,40 @@
"scriptName": "",
"arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(PB_ConfigurationGroup) -PackagesGlob $(Build.StagingDirectory)\\IndexedSymbolPackages\\*.nupkg -MyGetFeedUrl $(PB_MyGetFeedUrl)",
"workingFolder": "$(Pipeline.SourcesDirectory)",
"inlineScript": "param($ApiKey, $ConfigurationGroup, $PackagesGlob, $MyGetFeedUrl, $SignType=\"unset\")\n\nif ($ConfigurationGroup.ToLower() -ne \"release\" ) { Write-host \"Chose not to publish\"; exit }\nif ($env:SourceBranch.StartsWith(\"release/\")) { exit }\n\n.\\build-managed.cmd -- /t:NuGetPush /v:Normal `\n/p:NuGetExePath=$env:CustomNuGetPath `\n/p:NuGetApiKey=$ApiKey `\n/p:NuGetSource=$MyGetFeedUrl `\n/p:PackagesGlob=$PackagesGlob",
"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,
"continueOnError": false,
"alwaysRun": false,
"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.*",
@@ -214,17 +281,19 @@
"scriptType": "inlineScript",
"scriptName": "",
"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, $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",
"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"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Get Build Number",
"timeoutInMinutes": 0,
"refName": "Task14",
"task": {
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
"versionSpec": "1.*",
@@ -234,17 +303,19 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "$(OfficialBuildId) $(Pipeline.SourcesDirectory)",
"inlineScript": "param(\n [string]$OfficialBuildId,\n [string]$SourcesDir\n)\n$VersionPropsFile=$SourcesDir + \"\\bin\\obj\\BuildVersion-\" + $OfficialBuildId + \".props\"\n[xml]$versionXml=Get-Content $VersionPropsFile\n$env:BuildNumber=$versionXml.Project.PropertyGroup.BuildNumberMajor.InnerText + \".\" + $versionXml.Project.PropertyGroup.BuildNumberMinor.InnerText\nWrite-Host (\"##vso[task.setvariable variable=BuildNumber;]$env:BuildNumber\")",
"workingFolder": "",
"inlineScript": "param(\n [string]$OfficialBuildId,\n [string]$SourcesDir\n)\n$VersionPropsFile=$SourcesDir + \"\\bin\\obj\\BuildVersion-\" + $OfficialBuildId + \".props\"\n[xml]$versionXml=Get-Content $VersionPropsFile\n$env:BuildNumber=$versionXml.Project.PropertyGroup.BuildNumberMajor.InnerText + \".\" + $versionXml.Project.PropertyGroup.BuildNumberMinor.InnerText\nWrite-Host (\"##vso[task.setvariable variable=BuildNumber;]$env:BuildNumber\")",
"failOnStandardError": "true"
}
},
{
"environment": {},
"enabled": true,
"continueOnError": true,
"alwaysRun": false,
"displayName": "Publish to Artifact Services Drop",
"timeoutInMinutes": 0,
"refName": "Task15",
"task": {
"id": "f9d96d25-0c81-4e77-8282-1ad1f785cbb4",
"versionSpec": "0.*",
@@ -263,12 +334,14 @@
}
},
{
"environment": {},
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Send Telemetry",
"timeoutInMinutes": 0,
"condition": "always()",
"refName": "Task16",
"task": {
"id": "521a94ea-9e68-468a-8167-6dcf361ea776",
"versionSpec": "1.*",
@@ -278,18 +351,6 @@
}
],
"options": [
{
"enabled": false,
"definition": {
"id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
},
"inputs": {
"multipliers": "[]",
"parallel": "false",
"continueOnError": "true",
"additionalFields": "{}"
}
},
{
"enabled": false,
"definition": {
@@ -309,6 +370,16 @@
"inputs": {
"additionalFields": "{}"
}
},
{
"enabled": false,
"definition": {
"id": "5d58cc01-7c75-450c-be18-a388ddb129ec"
},
"inputs": {
"branchFilters": "[\"+refs/heads/*\"]",
"additionalFields": "{}"
}
}
],
"variables": {
@@ -423,6 +494,9 @@
"value": "master",
"allowOverride": true
},
"FeedPublishArguments": {
"value": "$(PB_BuildOutputManifestArguments) /p:AccountKey=$(PB_PublishBlobFeedKey) /p:ExpectedFeedUrl=$(PB_PublishBlobFeedUrl) /p:ConfigurationGroup=$(PB_ConfigurationGroup)"
},
"PB_AzureContainerPackageGlob": {
"value": "*.nupkg",
"allowOverride": true
@@ -441,6 +515,20 @@
},
"PB_ToolPackageSource": {
"value": "https://www.myget.org/F/dagood-test-buildtools/api/v3/index.json"
},
"PB_PublishBlobFeedUrl": {
"value": "",
"allowOverride": true
},
"PB_PublishBlobFeedKey": {
"value": null,
"isSecret": true
},
"PB_PublishType": {
"value": ""
},
"PB_BuildOutputManifestArguments": {
"value": "/p:ManifestBuildId=$(OfficialBuildId) /p:ManifestBranch=$(SourceBranch) /p:ManifestCommit=$(SourceVersion)"
}
},
"retentionRules": [
@@ -462,6 +550,7 @@
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
"jobAuthorizationScope": "projectCollection",
"jobTimeoutInMinutes": 180,
"jobCancelTimeoutInMinutes": 5,
"repository": {
"properties": {
"labelSources": "0",
@@ -469,7 +558,9 @@
"fetchDepth": "0",
"gitLfsSupport": "false",
"skipSyncSource": "false",
"cleanOptions": "0"
"cleanOptions": "0",
"checkoutNestedSubmodules": "false",
"labelSourcesFormat": "$(build.buildNumber)"
},
"id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a",
"type": "TfsGit",
@@ -479,25 +570,29 @@
"clean": "true",
"checkoutSubmodules": false
},
"processParameters": {},
"quality": "definition",
"drafts": [],
"queue": {
"id": 36,
"name": "DotNet-Build",
"pool": {
"id": 39,
"name": "DotNet-Build"
},
"id": 36,
"name": "DotNet-Build"
}
},
"path": "\\",
"type": "build",
"id": 2943,
"name": "DotNet-Trusted-Publish",
"path": "\\",
"type": "build",
"queueStatus": "enabled",
"project": {
"id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
"name": "DevDiv",
"description": "Visual Studio and DevDiv team project for git source code repositories. Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv. ",
"url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
"state": "wellFormed",
"revision": 418097459
"revision": 418098311,
"visibility": "organization"
}
}

View File

@@ -0,0 +1,39 @@
@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
simpleDockerNode('microsoft/dotnet-buildtools-prereqs:alpine-3.6-3148f11-20171119021156') {
stage ('Checkout source') {
checkoutRepo()
}
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 -runtimeos=alpine.3.6 -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true /p:PortableBuild=false"
}
stage ('Sync') {
sh "./sync.sh -p -runtimeos=alpine.3.6 -- /p:ArchGroup=x64 /p:PortableBuild=false"
}
stage ('Build Product') {
sh "./build.sh -buildArch=x64 -runtimeos=alpine.3.6 -${params.CGroup} -- /p:PortableBuild=false"
}
stage ('Build Tests') {
def additionalArgs = ''
if (params.TestOuter) {
additionalArgs = '-Outerloop'
}
sh "./build-tests.sh -buildArch=x64 -${params.CGroup} -SkipTests ${additionalArgs} -- /p:ArchiveTests=true /p:EnableDumpling=true /p:PortableBuild=false"
}
// TODO: Add submission for Helix testing once we have queue for Alpine Linux working
}
// TODO: Add "Execute tests" stage once we have queue for Alpine Linux working

View File

@@ -52,13 +52,12 @@ simpleDockerNode('microsoft/dotnet-buildtools-prereqs:rhel7_prereqs_2') {
'Debian.87.Amd64.Open',
'Ubuntu.1404.Amd64.Open',
'Ubuntu.1604.Amd64.Open',
'suse.422.amd64.Open',
'opensuse.422.amd64.open',
'fedora.25.amd64.Open',]
if (params.TestOuter) {
targetHelixQueues += ['Debian.90.Amd64.Open',
'Fedora.26.Amd64.Open',
'SLES.12.Amd64.Open',
'Ubuntu.1704.Amd64.Open',]
'SLES.12.Amd64.Open',]
}
sh "./Tools/msbuild.sh src/upload-tests.proj /p:ArchGroup=x64 /p:ConfigurationGroup=${params.CGroup} /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=Linux /p:HelixJobType=test/functional/cli/ /p:HelixSource=${helixSource} /p:BuildMoniker=${helixBuild} /p:HelixCreator=${helixCreator} /p:CloudDropAccountName=dotnetbuilddrops /p:CloudResultsAccountName=dotnetjobresults /p:CloudDropAccessToken=\$CloudDropAccessToken /p:CloudResultsAccessToken=\$OutputCloudResultsAccessToken /p:HelixApiEndpoint=https://helix.dot.net/api/2017-04-14/jobs /p:TargetQueues=${targetHelixQueues.join('+')} /p:HelixLogFolder=${WORKSPACE}/${logFolder}/ /p:HelixCorrelationInfoFileName=SubmittedHelixRuns.txt"

File diff suppressed because it is too large Load Diff

View File

@@ -16,12 +16,14 @@ def branch = GithubBranchName
def linPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/linux.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 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':centos6Pipeline, 'Name':'CentOS.6' ,'ForPR':"", 'Arch':['x64']],
['TGroup':"netcoreapp", 'Pipeline':alpine36Pipeline, 'Name':'Alpine.3.6' ,'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"],
@@ -62,4 +64,4 @@ JobReport.Report.generateJobReport(out)
// Make the call to generate the help job
Utilities.createHelperJob(this, project, branch,
"Welcome to the ${project} Repository", // This is prepended to the help message
"Have a nice day!") // This is appended to the help message. You might put known issues here.
"Have a nice day!") // This is appended to the help message. You might put known issues here.