2017-06-07 13:16:24 +00:00
{
"build" : [
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Delete 'corefx'" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "e213ff0f-5d5c-4791-802d-52ea3e7be1f1" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"scriptType" : "inlineScript" ,
"scriptName" : "" ,
"arguments" : "-path $(build.SourcesDirectory)\\corefx" ,
2017-08-21 15:34:15 +00:00
"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" ,
2017-06-07 13:16:24 +00:00
"workingFolder" : "" ,
"failOnStandardError" : "true"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "git clone" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(PB_Git)" ,
"arguments" : "clone $(PB_VsoCorefxGitUrl) corefx" ,
"workingFolder" : "" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "git checkout" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(PB_Git)" ,
"arguments" : "checkout $(SourceVersion)" ,
"workingFolder" : "corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Install Signing Plugin" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "30666190-6959-11e5-9f96-f56098202fef" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"signType" : "$(PB_SignType)" ,
"zipSources" : "false" ,
"version" : "" ,
"feedSource" : "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Build.SourcesDirectory)\\corefx\\clean.cmd" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Build.SourcesDirectory)\\corefx\\clean.cmd" ,
"arguments" : "-all" ,
"workingFolder" : "corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Build.SourcesDirectory)\\corefx\\sync.cmd" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Build.SourcesDirectory)\\corefx\\sync.cmd" ,
"arguments" : "$(PB_SyncArguments)" ,
"workingFolder" : "corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Generate Version Assets" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Build.SourcesDirectory)\\corefx\\build-managed.cmd" ,
"arguments" : "-GenerateVersion -OfficialBuildId=$(OfficialBuildId)" ,
"workingFolder" : "corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Build.SourcesDirectory)\\corefx\\build.cmd" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Build.SourcesDirectory)\\corefx\\build.cmd" ,
2017-08-21 15:34:15 +00:00
"arguments" : "-OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)" ,
2017-06-07 13:16:24 +00:00
"workingFolder" : "corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Push packages to Azure" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Build.SourcesDirectory)\\corefx\\publish-packages.cmd" ,
2017-08-21 15:34:15 +00:00
"arguments" : "-AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -- /p:OverwriteOnPublish=false" ,
2017-06-07 13:16:24 +00:00
"workingFolder" : "corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : true ,
"displayName" : "Copy Publish Artifact: BuildLogs" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "1d341bb0-2106-458c-8422-d00bcea6512a" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"CopyRoot" : "" ,
"Contents" : "*.log\ncorefx\\*.log\ncorefx\\src\\*.log" ,
"ArtifactName" : "BuildLogs" ,
"ArtifactType" : "Container" ,
"TargetPath" : "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
2017-08-21 15:34:15 +00:00
"displayName" : "Index symbol sources" ,
2017-06-07 13:16:24 +00:00
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "0675668a-7bba-4ccb-901d-5ad6554ca653" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
2017-08-21 15:34:15 +00:00
"SymbolsPath" : "" ,
2017-06-07 13:16:24 +00:00
"SearchPattern" : "corefx\\bin\\*$(PB_Platform).$(PB_ConfigurationGroup)\\**\\*.pdb" ,
"SymbolsFolder" : "" ,
"SkipIndexing" : "false" ,
"TreatNotIndexedAsWarning" : "false" ,
"SymbolsMaximumWaitTime" : "" ,
"SymbolsProduct" : "" ,
"SymbolsVersion" : "" ,
"SymbolsArtifactName" : "Symbols_$(PB_ConfigurationGroup)"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : true ,
"displayName" : "Execute cleanup tasks" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "521a94ea-9e68-468a-8167-6dcf361ea776" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : { }
} ,
{
"enabled" : true ,
"continueOnError" : true ,
"alwaysRun" : false ,
"displayName" : "Final clean to remove any lingering process" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Build.SourcesDirectory)\\corefx\\clean.cmd" ,
"arguments" : "" ,
"workingFolder" : "corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : true ,
"alwaysRun" : true ,
"displayName" : "Build solution corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "c6c4c611-aa2e-4a33-b606-5eaba2196824" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"solution" : "corefx\\Tools\\scripts\\vstsagent\\cleanupagent.proj" ,
"platform" : "" ,
"configuration" : "" ,
"msbuildArguments" : "/p:AgentDirectory=$(Agent.HomeDirectory) /p:DoClean=$(PB_CleanAgent)" ,
"clean" : "false" ,
"maximumCpuCount" : "false" ,
"restoreNugetPackages" : "false" ,
"logProjectEvents" : "false" ,
"createLogFile" : "false" ,
"msbuildLocationMethod" : "version" ,
"msbuildVersion" : "14.0" ,
"msbuildArchitecture" : "x86" ,
"msbuildLocation" : ""
}
}
] ,
"options" : [
{
"enabled" : false ,
"definition" : {
"id" : "7c555368-ca64-4199-add6-9ebaf0b0137d"
} ,
"inputs" : {
"multipliers" : "[]" ,
"parallel" : "false" ,
"continueOnError" : "true" ,
"additionalFields" : "{}"
}
} ,
{
"enabled" : false ,
"definition" : {
"id" : "a9db38f9-9fdc-478c-b0f9-464221e58316"
} ,
"inputs" : {
"workItemType" : "234347" ,
"assignToRequestor" : "true" ,
"additionalFields" : "{}"
}
} ,
{
"enabled" : false ,
"definition" : {
"id" : "57578776-4c22-4526-aeb0-86b6da17ee9c"
} ,
"inputs" : {
"additionalFields" : "{}"
}
}
] ,
"variables" : {
"system.debug" : {
"value" : "false" ,
"allowOverride" : true
} ,
"PB_ConfigurationGroup" : {
"value" : "Debug" ,
"allowOverride" : true
} ,
"PB_Platform" : {
"value" : "x64" ,
"allowOverride" : true
} ,
"PB_CloudDropAccountName" : {
"value" : "dotnetbuildoutput"
} ,
"CloudDropAccessToken" : {
"value" : null ,
"isSecret" : true
} ,
"OfficialBuildId" : {
"value" : "$(Build.BuildNumber)" ,
"allowOverride" : true
} ,
"PB_Label" : {
"value" : "$(Build.BuildNumber)" ,
"allowOverride" : true
} ,
"SourceVersion" : {
"value" : "HEAD" ,
"allowOverride" : true
} ,
"PB_VsoAccountName" : {
"value" : "dn-bot"
} ,
"VsoPassword" : {
"value" : null ,
"isSecret" : true
} ,
"PB_VsoRepositoryName" : {
"value" : "DotNet-CoreFX-Trusted" ,
"allowOverride" : true
} ,
"PB_VsoCorefxGitUrl" : {
"value" : "https://github.com/dotnet/corefx"
} ,
"PB_SourceBranch" : {
"value" : "master" ,
"allowOverride" : true
} ,
"PB_Git" : {
"value" : "$(ProgramFiles)\\Git\\cmd\\git.exe"
} ,
"TeamName" : {
"value" : "DotNetCore"
} ,
"PB_RuntimeOS" : {
"value" : "win10"
} ,
"PB_CleanAgent" : {
"value" : "true"
} ,
"PB_SyncArguments" : {
"value" : "-p -- /p:ArchGroup=x64 /p:RuntimeOS=win10" ,
"allowOverride" : true
} ,
"PB_BuildArguments" : {
"value" : "-buildArch=x64 -Release -- /p:SignType=test /p:RuntimeOS=win10" ,
"allowOverride" : true
}
} ,
"demands" : [
"Agent.OS -equals windows_nt"
] ,
"retentionRules" : [
{
"branches" : [
"+refs/heads/*"
] ,
"artifacts" : [ ] ,
"artifactTypesToDelete" : [
"FilePath" ,
"SymbolStore"
] ,
"daysToKeep" : 10 ,
"minimumToKeep" : 1 ,
"deleteBuildRecord" : true ,
"deleteTestResults" : true
}
] ,
"buildNumberFormat" : "$(date:yyyyMMdd)$(rev:-rr)" ,
"jobAuthorizationScope" : "projectCollection" ,
"jobTimeoutInMinutes" : 180 ,
"repository" : {
"properties" : {
"labelSources" : "0" ,
"reportBuildStatus" : "true" ,
"fetchDepth" : "0" ,
"gitLfsSupport" : "false" ,
"skipSyncSource" : "true" ,
"cleanOptions" : "3"
} ,
"id" : "0a2b2664-c1be-429c-9b40-8a24dee27a4a" ,
"type" : "TfsGit" ,
"name" : "DotNet-BuildPipeline" ,
"url" : "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline" ,
"defaultBranch" : "refs/heads/master" ,
"clean" : "false" ,
"checkoutSubmodules" : false
} ,
"quality" : "definition" ,
"queue" : {
"pool" : {
"id" : 39 ,
"name" : "DotNet-Build"
} ,
"id" : 36 ,
"name" : "DotNet-Build"
} ,
"path" : "\\" ,
"type" : "build" ,
"id" : 5308 ,
"name" : "DotNet-CoreFx-Trusted-Windows-NoTest" ,
"url" : "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/5308" ,
"project" : {
"id" : "0bdbc590-a062-4c3f-b0f6-9383f67865ee" ,
"name" : "DevDiv" ,
"description" : "Visual Studio and DevDiv team project for git source code repositories. Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv. " ,
"url" : "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee" ,
"state" : "wellFormed" ,
"revision" : 418097529
}
}