2017-04-10 11:41:01 +00:00
{
"build" : [
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Delete files from $(Agent.BuildDirectory)/s" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "b7e8b412-0437-4065-9371-edc5881de25b" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"SourceFolder" : "$(Agent.BuildDirectory)/s" ,
"Contents" : "**\n.gitignore"
}
} ,
{
"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 $(PB_VsoCorefxGitUrl) $(Agent.BuildDirectory)/s/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" : "git" ,
"arguments" : "checkout $(SourceVersion)" ,
"workingFolder" : "$(Agent.BuildDirectory)/s/corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/clean.sh" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Agent.BuildDirectory)/s/corefx/clean.sh" ,
"arguments" : "-all" ,
"workingFolder" : "$(Agent.BuildDirectory)/s/corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/sync.sh" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Agent.BuildDirectory)/s/corefx/sync.sh" ,
"arguments" : "$(PB_SyncArguments)" ,
"workingFolder" : "$(Agent.BuildDirectory)/s/corefx/" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Generate Native Version Assets" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Agent.BuildDirectory)/s/corefx/build-managed.sh" ,
"arguments" : "-OfficialBuildId=$(OfficialBuildId) -- /t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true" ,
"workingFolder" : "$(Agent.BuildDirectory)/s/corefx" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/build.sh" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Agent.BuildDirectory)/s/corefx/build.sh" ,
2017-08-21 15:34:15 +00:00
"arguments" : "-OfficialBuildId=$(OfficialBuildId) $(PB_BuildArguments)" ,
2017-04-10 11:41:01 +00:00
"workingFolder" : "$(Agent.BuildDirectory)/s/corefx/" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/build-tests.sh" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Agent.BuildDirectory)/s/corefx/build-tests.sh" ,
"arguments" : "$(PB_BuildTestsArguments)" ,
"workingFolder" : "$(Agent.BuildDirectory)/s/corefx/" ,
"failOnStandardError" : "false"
}
} ,
{
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Create Helix Test Jobs" ,
"timeoutInMinutes" : 0 ,
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Agent.BuildDirectory)/s/corefx/Tools/msbuild.sh" ,
2017-06-07 13:16:24 +00:00
"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)\"" ,
2017-04-10 11:41:01 +00:00
"workingFolder" : "" ,
"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" : "$(Agent.BuildDirectory)/s/corefx/publish-packages.sh" ,
2017-08-21 15:34:15 +00:00
"arguments" : "-AzureAccount=$(PB_CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -Container=$(PB_Label) -- /p:OverwriteOnPublish=false" ,
2017-04-10 11:41:01 +00:00
"workingFolder" : "$(Agent.BuildDirectory)/s/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\n$(Agent.BuildDirectory)/s/corefx/*.log" ,
"ArtifactName" : "BuildLogs" ,
"ArtifactType" : "Container" ,
"TargetPath" : "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
}
}
] ,
"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_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_BuildArguments" : {
"value" : "-buildArch=x64 -Release" ,
"allowOverride" : true
} ,
"PB_BuildTestsArguments" : {
"value" : "-buildArch=x64 -Release -SkipTests" ,
"allowOverride" : true
} ,
"PB_SyncArguments" : {
"value" : "-p -- /p:ArchGroup=x64" ,
"allowOverride" : true
} ,
"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
}
} ,
"demands" : [
2017-06-07 13:16:24 +00:00
"Configuration -equals VSTSAgent_Mac_v3.0.0"
2017-04-10 11:41:01 +00:00
] ,
"retentionRules" : [
{
"branches" : [
"+refs/heads/*"
] ,
"artifacts" : [
"build.SourceLabel"
] ,
"artifactTypesToDelete" : [ ] ,
"daysToKeep" : 10 ,
"minimumToKeep" : 1 ,
"deleteBuildRecord" : true ,
"deleteTestResults" : true
}
] ,
"buildNumberFormat" : "$(date:yyyyMMdd)$(rev:-rr)" ,
"jobAuthorizationScope" : "projectCollection" ,
"jobTimeoutInMinutes" : 60 ,
"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" : {
2017-06-07 13:16:24 +00:00
"id" : 97 ,
"name" : "DotNetCore-Build"
2017-04-10 11:41:01 +00:00
} ,
2017-06-07 13:16:24 +00:00
"id" : 330 ,
"name" : "DotNetCore-Build"
2017-04-10 11:41:01 +00:00
} ,
"path" : "\\" ,
"type" : "build" ,
"id" : 1053 ,
"name" : "DotNet-CoreFx-Trusted-OSX" ,
"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
}
2017-06-07 13:16:24 +00:00
}