{ "build": [ { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "git clone", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "*", "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": "*", "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": "*", "definitionType": "task" }, "inputs": { "signType": "$(SignType)", "zipSources": "false", "version": "", "feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Run $(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\clean.cmd", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "*", "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": "*", "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": "*", "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": "*", "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": "*", "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": "*", "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": "Publish symbols path: \\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols", "timeoutInMinutes": 0, "task": { "id": "0675668a-7bba-4ccb-901d-5ad6554ca653", "versionSpec": "*", "definitionType": "task" }, "inputs": { "SymbolsPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols", "SearchPattern": "**\\*.pdb", "SymbolsFolder": "$(Build.SourcesDirectory)\\$(SourceFolder)\\bin\\Windows_NT.$(Platform).$(Configuration)", "SkipIndexing": "false", "TreatNotIndexedAsWarning": "false", "SymbolsMaximumWaitTime": "", "SymbolsProduct": "", "SymbolsVersion": "", "SymbolsArtifactName": "Symbols_$(Configuration)" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Index Symbols on Symweb", "timeoutInMinutes": 0, "task": { "id": "af503aa3-9d06-44b6-a549-d063a544a5c5", "versionSpec": "*", "definitionType": "task" }, "inputs": { "symbolStore": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\symbols", "contacts": "crummel;simonn;michals", "project": "DDE" } }, { "enabled": false, "continueOnError": false, "alwaysRun": false, "displayName": "Publish to Symbols to Artifact Services", "timeoutInMinutes": 0, "task": { "id": "29827cd1-5c33-4ff0-a817-abd46970ffc4", "versionSpec": "*", "definitionType": "task" }, "inputs": { "symbolServiceURI": "https://devdiv.artifacts.visualstudio.com/DefaultCollection", "requestName": "$(system.teamProject)/$(Build.BuildNumber)/$(Build.BuildId)", "sourcePath": "$(Build.SourcesDirectory)\\corert\\bin", "assemblyPath": "", "toLowerCase": "true", "detailedLog": "true", "expirationInDays": "", "usePat": "true" } }, { "enabled": true, "continueOnError": false, "alwaysRun": true, "displayName": "Perform Cleanup Tasks", "timeoutInMinutes": 0, "task": { "id": "521a94ea-9e68-468a-8167-6dcf361ea776", "versionSpec": "*", "definitionType": "task" }, "inputs": {} }, { "enabled": true, "continueOnError": false, "alwaysRun": true, "displayName": "Copy Publish Artifact: BuildLogs", "timeoutInMinutes": 0, "task": { "id": "1d341bb0-2106-458c-8422-d00bcea6512a", "versionSpec": "*", "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": "*", "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": "*", "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": "*", "definitionType": "task" }, "inputs": { "CopyRoot": "", "Contents": "bin\\*$(Platform).$(Configuration)\\**\\*.dll\nbin\\*$(Platform).$(Configuration)\\**\\*.pdb", "ArtifactName": "symbols", "ArtifactType": "FilePath", "TargetPath": "\\\\cpvsbuild\\drops\\DotNetCore\\$(Build.DefinitionName)\\$(Build.BuildNumber)\\FullSymbols" } }, { "enabled": false, "continueOnError": true, "alwaysRun": true, "displayName": "Final clean to remove any lingering process", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "*", "definitionType": "task" }, "inputs": { "filename": "$(Build.SourcesDirectory)\\$(SourceFolder)\\buildscripts\\clean.cmd", "arguments": "", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } } ], "options": [ { "enabled": false, "definition": { "id": "7c555368-ca64-4199-add6-9ebaf0b0137d" }, "inputs": { "multipliers": "[]", "parallel": "false", "continueOnError": "true", "additionalFields": "{}" } }, { "enabled": false, "definition": { "id": "a9db38f9-9fdc-478c-b0f9-464221e58316" }, "inputs": { "workItemType": "234347", "assignToRequestor": "true", "additionalFields": "{}" } }, { "enabled": false, "definition": { "id": "57578776-4c22-4526-aeb0-86b6da17ee9c" }, "inputs": { "additionalFields": "{}" } } ], "variables": { "system.debug": { "value": "false", "allowOverride": true }, "Configuration": { "value": "Release", "allowOverride": true }, "Platform": { "value": "x64", "allowOverride": true }, "TeamName": { "value": "DotNetCore" }, "SignType": { "value": "test", "allowOverride": true }, "OfficialBuildId": { "value": "$(Build.BuildNumber)", "allowOverride": true }, "BuildTag": { "value": "corert-alpha", "allowOverride": true }, "Label": { "value": "$(BuildTag)-$(Build.BuildNumber)", "allowOverride": true }, "SourceVersion": { "value": "HEAD", "allowOverride": true }, "GitUrl": { "value": "https://github.com/dotnet/corert", "allowOverride": true }, "SourceBranch": { "value": "master", "allowOverride": true }, "Git": { "value": "$(ProgramFiles)\\Git\\cmd\\git.exe" }, "CustomNuGetPath": { "value": "$(Build.StagingDirectory)\\NuGet.exe" }, "CustomNuGetDownloadPath": { "value": "$(Build.StagingDirectory)\\tool-download" }, "MyGetFeedUrl": { "value": "https://dotnet.myget.org/F/dotnet-core/api/v2/package" }, "MyGetApiKey": { "value": null, "isSecret": true, "allowOverride": true }, "SourceFolder": { "value": "corert_$(Build.BuildId)", "allowOverride": false }, "CloudDropAccountName": { "value": "dotnetbuildoutput" }, "CloudDropAccessToken": { "value": null, "isSecret": true }, "UpdatePublishedVersions.AuthToken": { "value": null, "isSecret": true }, "VersionsRepoOwner": { "value": "crummel", "allowOverride": true }, "VersionsRepo": { "value": "dotnet_versions", "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, "repository": { "properties": { "labelSources": "0", "reportBuildStatus": "true", "fetchDepth": "0", "gitLfsSupport": "false", "skipSyncSource": "false", "cleanOptions": "3" }, "id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a", "type": "TfsGit", "name": "DotNet-BuildPipeline", "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline", "defaultBranch": "refs/heads/master", "clean": "true", "checkoutSubmodules": false }, "quality": "definition", "defaultBranch": "refs/heads/master", "queue": { "pool": { "id": 97, "name": "DotNetCore-Build" }, "id": 330, "name": "DotNetCore-Build" }, "path": "\\", "type": "build", "id": 4508, "name": "DotNet-CoreRT-Windows", "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/4508", "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": 418097423 } }