linux-packaging-mono/external/corert/buildpipeline/DotNet-CoreRT-Windows.json

501 lines
14 KiB
JSON
Raw Normal View History

{
"build": [
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "git clone",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Git)",
"arguments": "clone $(GitUrl) $(SourceFolder)",
"workingFolder": "",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "git checkout",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Git)",
"arguments": "checkout $(SourceVersion)",
"workingFolder": "$(SourceFolder)",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Install Signing Plugin",
"timeoutInMinutes": 0,
"task": {
"id": "30666190-6959-11e5-9f96-f56098202fef",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"signType": "$(SignType)",
"zipSources": "false",
"version": "",
"feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json",
"legacySigning": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Run $(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\clean.cmd",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\clean.cmd",
"arguments": "-all",
"workingFolder": "$(SourceFolder)",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Build native",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\build-native.cmd",
"arguments": "/OfficialBuildId=$(OfficialBuildId) $(Platform) $(Configuration)",
"workingFolder": "$(SourceFolder)",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Build managed",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\build-managed.cmd",
"arguments": "/OfficialBuildId=$(OfficialBuildId) $(Platform) $(Configuration)",
"workingFolder": "$(SourceFolder)",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Build tests",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\build-tests.cmd",
"arguments": "/OfficialBuildId=$(OfficialBuildId) $(Platform) $(Configuration)",
"workingFolder": "$(SourceFolder)",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Build packages",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\build-packages.cmd",
"arguments": "/OfficialBuildId=$(OfficialBuildId) $(Platform) $(Configuration)",
"workingFolder": "$(SourceFolder)",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Publish packages",
"timeoutInMinutes": 0,
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"filename": "$(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\publish-packages.cmd",
"arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=\"$(CloudDropAccessToken)\" -Container=$(Label)",
"workingFolder": "$(SourceFolder)",
"failOnStandardError": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Copy Files to: $(Build.ArtifactStagingDirectory)/symbols",
"timeoutInMinutes": 0,
"condition": "succeeded()",
"task": {
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
"versionSpec": "2.*",
"definitionType": "task"
},
"inputs": {
"SourceFolder": "$(Build.SourcesDirectory)\\$(SourceFolder)\\bin\\Windows_NT.$(Platform).$(Configuration)",
"Contents": "**\\*.+(pdb|exe|dll)",
"TargetFolder": "$(Build.ArtifactStagingDirectory)/symbols",
"CleanTargetFolder": "false",
"OverWrite": "false",
"flattenFolders": "false"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Index sources and publish symbols",
"timeoutInMinutes": 0,
"task": {
"id": "0675668a-7bba-4ccb-901d-5ad6554ca653",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"SymbolsPath": "",
"SearchPattern": "**\\*.pdb",
"SymbolsFolder": "$(Build.ArtifactStagingDirectory)/symbols",
"SkipIndexing": "false",
"TreatNotIndexedAsWarning": "false",
"SymbolsMaximumWaitTime": "",
"SymbolsProduct": "",
"SymbolsVersion": "",
"SymbolsArtifactName": "Symbols_$(Configuration)"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Publish Symbols to Artifact Services",
"timeoutInMinutes": 0,
"condition": "succeeded()",
"task": {
"id": "29827cd1-5c33-4ff0-a817-abd46970ffc4",
"versionSpec": "0.*",
"definitionType": "task"
},
"inputs": {
"symbolServiceURI": "https://microsoft.artifacts.visualstudio.com/DefaultCollection",
"requestName": "$(system.teamProject)/$(Build.BuildNumber)/$(Build.BuildId)",
"sourcePath": "$(Build.ArtifactStagingDirectory)/symbols",
"assemblyPath": "",
"toLowerCase": "true",
"detailedLog": "false",
"expirationInDays": "",
"usePat": "false",
"append": "true"
}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Perform Cleanup Tasks",
"timeoutInMinutes": 0,
"task": {
"id": "521a94ea-9e68-468a-8167-6dcf361ea776",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {}
},
{
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Copy Publish Artifact: BuildLogs",
"timeoutInMinutes": 0,
"task": {
"id": "1d341bb0-2106-458c-8422-d00bcea6512a",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"CopyRoot": "",
"Contents": "*.log\n**\\*.log",
"ArtifactName": "BuildLogs",
"ArtifactType": "Container",
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
}
},
{
"enabled": true,
"continueOnError": true,
"alwaysRun": false,
"displayName": "Zip",
"timeoutInMinutes": 0,
"task": {
"id": "dc66d2f0-a7ba-11e5-ae62-3deab86d85e3",
"versionSpec": "0.*",
"definitionType": "task"
},
"inputs": {
"pathToZipFolder": "$(SourceFolder)\\bin",
"pathToZipFile": "bin.zip",
"overwrite": "false"
}
},
{
"enabled": true,
"continueOnError": true,
"alwaysRun": false,
"displayName": "Copy Publish Artifact: bin",
"timeoutInMinutes": 0,
"task": {
"id": "1d341bb0-2106-458c-8422-d00bcea6512a",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"CopyRoot": "",
"Contents": "bin.zip",
"ArtifactName": "bin",
"ArtifactType": "Container",
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
}
},
{
"enabled": true,
"continueOnError": true,
"alwaysRun": false,
"displayName": "Copy Publish Artifact: symbols",
"timeoutInMinutes": 0,
"task": {
"id": "1d341bb0-2106-458c-8422-d00bcea6512a",
"versionSpec": "1.*",
"definitionType": "task"
},
"inputs": {
"CopyRoot": "",
"Contents": "$(Build.ArtifactStagingDirectory)/symbols/**/*.+(pdb|dll)\n",
"ArtifactName": "symbols",
"ArtifactType": "FilePath",
"TargetPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\FullSymbols"
}
}
],
"options": [
{
"enabled": false,
"definition": {
"id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
},
"inputs": {
"workItemType": "234347",
"assignToRequestor": "true",
"additionalFields": "{}"
}
},
{
"enabled": false,
"definition": {
"id": "5d58cc01-7c75-450c-be18-a388ddb129ec"
},
"inputs": {
"branchFilters": "[\"+refs/heads/*\"]",
"additionalFields": "{}"
}
}
],
"variables": {
"BuildTag": {
"value": "corert-alpha",
"allowOverride": true
},
"CloudDropAccessToken": {
"value": null,
"isSecret": true
},
"CloudDropAccountName": {
"value": "dotnetbuildoutput"
},
"Configuration": {
"value": "Release",
"allowOverride": true
},
"CustomNuGetDownloadPath": {
"value": "$(Build.StagingDirectory)\\tool-download"
},
"CustomNuGetPath": {
"value": "$(Build.StagingDirectory)\\NuGet.exe"
},
"Git": {
"value": "$(ProgramFiles)\\Git\\cmd\\git.exe"
},
"GitUrl": {
"value": "https://github.com/dotnet/corert",
"allowOverride": true
},
"Label": {
"value": "$(BuildTag)-$(Build.BuildNumber)",
"allowOverride": true
},
"MyGetApiKey": {
"value": null,
"allowOverride": true,
"isSecret": true
},
"MyGetFeedUrl": {
"value": "https://dotnet.myget.org/F/dotnet-core/api/v2/package"
},
"OfficialBuildId": {
"value": "$(Build.BuildNumber)",
"allowOverride": true
},
"Platform": {
"value": "x64",
"allowOverride": true
},
"SignType": {
"value": "test",
"allowOverride": true
},
"SourceBranch": {
"value": "master",
"allowOverride": true
},
"SourceFolder": {
"value": "corert_$(Build.BuildId)"
},
"SourceVersion": {
"value": "HEAD",
"allowOverride": true
},
"system.debug": {
"value": "false",
"allowOverride": true
},
"TeamName": {
"value": "DotNetCore"
},
"UpdatePublishedVersions.AuthToken": {
"value": null,
"isSecret": true
},
"VersionsRepo": {
"value": "dotnet_versions",
"allowOverride": true
},
"VersionsRepoOwner": {
"value": "crummel",
"allowOverride": true
}
},
"demands": [
"Agent.OS -equals windows_nt"
],
"retentionRules": [
{
"branches": [
"+refs/heads/*"
],
"artifacts": [
"build.SourceLabel"
],
"artifactTypesToDelete": [],
"daysToKeep": 10,
"minimumToKeep": 1,
"deleteBuildRecord": true,
"deleteTestResults": true
}
],
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
"jobAuthorizationScope": "projectCollection",
"jobTimeoutInMinutes": 120,
"jobCancelTimeoutInMinutes": 5,
"repository": {
"properties": {
"labelSources": "0",
"reportBuildStatus": "true",
"fetchDepth": "0",
"gitLfsSupport": "false",
"skipSyncSource": "false",
"cleanOptions": "3",
"checkoutNestedSubmodules": "false",
"labelSourcesFormat": "$(build.buildNumber)"
},
"id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a",
"type": "TfsGit",
"name": "DotNet-BuildPipeline",
"url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline",
"defaultBranch": "refs/heads/master",
"clean": "true",
"checkoutSubmodules": false
},
"processParameters": {},
"quality": "definition",
"drafts": [],
"queue": {
"_links": {
"self": {
"href": "https://devdiv.visualstudio.com/_apis/build/Queues/330"
}
},
"id": 330,
"name": "DotNetCore-Build",
"url": "https://devdiv.visualstudio.com/_apis/build/Queues/330",
"pool": {
"id": 97,
"name": "DotNetCore-Build"
}
},
"id": 4508,
"name": "DotNet-CoreRT-Windows",
"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 for Visual Studio and most active DevDiv products are in this account.",
"url": "https://devdiv.visualstudio.com/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
"state": "wellFormed",
"revision": 418099610,
"visibility": "organization"
}
}