2017-04-10 11:41:01 +00:00
{
"build" : [
2018-08-07 15:19:03 +00:00
{
"environment" : { } ,
"enabled" : true ,
"continueOnError" : true ,
"displayName" : "run begin.sh" ,
"timeoutInMinutes" : 0 ,
"alwaysRun" : true ,
"task" : {
"id" : "10f1f9a1-74b0-47ab-87bf-e3c9c68e8b0d" ,
"versionSpec" : "0.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"type" : "InlineScript" ,
"scriptPath" : "" ,
"args" : "" ,
"cwd" : "" ,
"failOnStandardError" : "false" ,
"script" : "if [ -f \"$AGENTTOOLSPATH/begin.sh\" ]; then echo \"$AGENTTOOLSPATH/begin.sh script found. Executing...\"; $AGENTTOOLSPATH/begin.sh ; else echo \"$AGENTTOOLSPATH/begin.sh script does not exist. Moving on.\" ; fi"
}
} ,
2017-04-10 11:41:01 +00:00
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Delete files from $(Agent.BuildDirectory)/s" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task1" ,
2017-04-10 11:41:01 +00:00
"task" : {
"id" : "b7e8b412-0437-4065-9371-edc5881de25b" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"SourceFolder" : "$(Agent.BuildDirectory)/s" ,
"Contents" : "**\n.gitignore"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "git clone" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task2" ,
2017-04-10 11:41:01 +00:00
"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"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "git checkout" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task3" ,
2017-04-10 11:41:01 +00:00
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "git" ,
"arguments" : "checkout $(SourceVersion)" ,
"workingFolder" : "$(Agent.BuildDirectory)/s/corefx" ,
"failOnStandardError" : "false"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/clean.sh" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task4" ,
2017-04-10 11:41:01 +00:00
"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"
}
} ,
{
2018-08-07 15:19:03 +00:00
"environment" : {
"PACKAGEVERSIONPROPSURL" : "$(PB_PackageVersionPropsUrl)"
} ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/sync.sh" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task5" ,
2017-04-10 11:41:01 +00:00
"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"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Generate Native Version Assets" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task6" ,
2017-04-10 11:41:01 +00:00
"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"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/build.sh" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task7" ,
2017-04-10 11:41:01 +00:00
"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"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Run $(Agent.BuildDirectory)/s/corefx/build-tests.sh" ,
"timeoutInMinutes" : 0 ,
2018-01-29 19:03:06 +00:00
"condition" : "and(succeeded(), ne(variables.PB_SkipTests, 'true'))" ,
2018-01-24 17:04:36 +00:00
"refName" : "Task8" ,
2017-04-10 11:41:01 +00:00
"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"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Create Helix Test Jobs" ,
"timeoutInMinutes" : 0 ,
2018-01-29 19:03:06 +00:00
"condition" : "and(succeeded(), ne(variables.PB_SkipTests, 'true'), ne(variables.PB_EnableCloudTest, 'false'))" ,
2018-01-24 17:04:36 +00:00
"refName" : "Task9" ,
2017-04-10 11:41:01 +00:00
"task" : {
"id" : "d9bafed4-0b18-4f58-968d-86655b4d2ce9" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"filename" : "$(Agent.BuildDirectory)/s/corefx/Tools/msbuild.sh" ,
2018-08-07 15:19:03 +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)\" /p:\"ProductBuildId=$(ProductBuildId)\"" ,
2017-04-10 11:41:01 +00:00
"workingFolder" : "" ,
"failOnStandardError" : "false"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
"continueOnError" : false ,
"alwaysRun" : false ,
"displayName" : "Push packages to Azure" ,
"timeoutInMinutes" : 0 ,
2018-01-24 17:04:36 +00:00
"refName" : "Task10" ,
2017-04-10 11:41:01 +00:00
"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"
}
} ,
{
2018-01-24 17:04:36 +00:00
"environment" : { } ,
2017-04-10 11:41:01 +00:00
"enabled" : true ,
2018-01-24 17:04:36 +00:00
"continueOnError" : true ,
2017-04-10 11:41:01 +00:00
"alwaysRun" : true ,
2018-01-24 17:04:36 +00:00
"displayName" : "Copy Files to: $(Build.StagingDirectory)\\BuildLogs" ,
2017-04-10 11:41:01 +00:00
"timeoutInMinutes" : 0 ,
2018-01-29 19:03:06 +00:00
"condition" : "succeededOrFailed()" ,
2018-01-24 17:04:36 +00:00
"refName" : "CopyFiles1" ,
2017-04-10 11:41:01 +00:00
"task" : {
2018-01-24 17:04:36 +00:00
"id" : "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c" ,
"versionSpec" : "2.*" ,
2017-04-10 11:41:01 +00:00
"definitionType" : "task"
} ,
"inputs" : {
2018-01-24 17:04:36 +00:00
"SourceFolder" : "" ,
2017-04-10 11:41:01 +00:00
"Contents" : "*.log\n$(Agent.BuildDirectory)/s/corefx/*.log" ,
2018-01-24 17:04:36 +00:00
"TargetFolder" : "$(Build.StagingDirectory)\\BuildLogs" ,
"CleanTargetFolder" : "false" ,
"OverWrite" : "false" ,
"flattenFolders" : "false"
}
} ,
{
"environment" : { } ,
"enabled" : true ,
"continueOnError" : true ,
"alwaysRun" : true ,
"displayName" : "Publish Artifact: BuildLogs" ,
"timeoutInMinutes" : 0 ,
2018-01-29 19:03:06 +00:00
"condition" : "succeededOrFailed()" ,
2018-01-24 17:04:36 +00:00
"refName" : "PublishBuildArtifacts2" ,
"task" : {
"id" : "2ff763a7-ce83-4e1f-bc89-0ae63477cebe" ,
"versionSpec" : "1.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"PathtoPublish" : "$(Build.StagingDirectory)\\BuildLogs" ,
2017-04-10 11:41:01 +00:00
"ArtifactName" : "BuildLogs" ,
"ArtifactType" : "Container" ,
2018-01-24 17:04:36 +00:00
"TargetPath" : "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)" ,
"Parallel" : "false" ,
"ParallelCount" : "8"
2017-04-10 11:41:01 +00:00
}
2018-08-07 15:19:03 +00:00
} ,
{
"environment" : { } ,
"enabled" : true ,
"continueOnError" : true ,
"displayName" : "run end.sh" ,
"timeoutInMinutes" : 0 ,
2019-04-12 14:10:50 +00:00
"condition" : "always()" ,
2018-08-07 15:19:03 +00:00
"alwaysRun" : true ,
"task" : {
"id" : "10f1f9a1-74b0-47ab-87bf-e3c9c68e8b0d" ,
"versionSpec" : "0.*" ,
"definitionType" : "task"
} ,
"inputs" : {
"type" : "InlineScript" ,
"scriptPath" : "" ,
"args" : "" ,
"cwd" : "" ,
"failOnStandardError" : "false" ,
"script" : "if [ -f \"$AGENTTOOLSPATH/end.sh\" ]; then echo \"$AGENTTOOLSPATH/end.sh script found. Executing...\"; $AGENTTOOLSPATH/end.sh ; else echo \"$AGENTTOOLSPATH/end.sh script does not exist. Moving on.\" ; fi"
}
2017-04-10 11:41:01 +00:00
}
] ,
"options" : [
{
"enabled" : false ,
"definition" : {
2018-01-24 17:04:36 +00:00
"id" : "a9db38f9-9fdc-478c-b0f9-464221e58316"
2017-04-10 11:41:01 +00:00
} ,
"inputs" : {
2018-01-24 17:04:36 +00:00
"workItemType" : "234347" ,
"assignToRequestor" : "true" ,
2017-04-10 11:41:01 +00:00
"additionalFields" : "{}"
}
} ,
{
"enabled" : false ,
"definition" : {
2018-01-24 17:04:36 +00:00
"id" : "57578776-4c22-4526-aeb0-86b6da17ee9c"
2017-04-10 11:41:01 +00:00
} ,
"inputs" : {
"additionalFields" : "{}"
}
} ,
{
"enabled" : false ,
"definition" : {
2018-01-24 17:04:36 +00:00
"id" : "5d58cc01-7c75-450c-be18-a388ddb129ec"
2017-04-10 11:41:01 +00:00
} ,
"inputs" : {
2018-01-24 17:04:36 +00:00
"branchFilters" : "[\"+refs/heads/*\"]" ,
2017-04-10 11:41:01 +00:00
"additionalFields" : "{}"
}
}
] ,
"variables" : {
"system.debug" : {
"value" : "false" ,
"allowOverride" : true
} ,
"PB_CloudDropAccountName" : {
"value" : "dotnetbuildoutput"
} ,
"CloudDropAccessToken" : {
"value" : null ,
"isSecret" : true
} ,
2018-08-07 15:19:03 +00:00
"OutputCloudResultsAccessToken" : {
"value" : null ,
"isSecret" : true
} ,
"HelixApiAccessKey" : {
"value" : null ,
"isSecret" : true
} ,
2017-04-10 11:41:01 +00:00
"OfficialBuildId" : {
"value" : "$(Build.BuildNumber)" ,
"allowOverride" : true
} ,
2018-08-07 15:19:03 +00:00
"ProductBuildId" : {
"value" : "" ,
"allowOverride" : true
} ,
2017-04-10 11:41:01 +00:00
"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" : {
2018-08-07 15:19:03 +00:00
"value" : "https://github.com/dotnet/corefx" ,
"isSecret" : true
2017-04-10 11:41:01 +00:00
} ,
"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
2018-01-29 19:03:06 +00:00
} ,
"PB_SkipTests" : {
"value" : "false" ,
"allowOverride" : true
} ,
"PB_PackageVersionPropsUrl" : {
2018-08-07 15:19:03 +00:00
"value" : "" ,
"isSecret" : true
2018-01-29 19:03:06 +00:00
} ,
2018-08-07 15:19:03 +00:00
"PB_RestoreSource" : {
"value" : "" ,
"isSecret" : true
2018-01-29 19:03:06 +00:00
} ,
"PB_AssetRootUrl" : {
2018-08-07 15:19:03 +00:00
"value" : "" ,
"isSecret" : true
2017-04-10 11:41:01 +00:00
}
} ,
"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" ,
2018-08-07 15:19:03 +00:00
"jobTimeoutInMinutes" : 120 ,
2018-01-24 17:04:36 +00:00
"jobCancelTimeoutInMinutes" : 5 ,
2017-04-10 11:41:01 +00:00
"repository" : {
"properties" : {
"labelSources" : "0" ,
"reportBuildStatus" : "true" ,
"fetchDepth" : "0" ,
"gitLfsSupport" : "false" ,
"skipSyncSource" : "true" ,
2018-01-24 17:04:36 +00:00
"cleanOptions" : "3" ,
"checkoutNestedSubmodules" : "false" ,
"labelSourcesFormat" : "$(build.buildNumber)"
2017-04-10 11:41:01 +00:00
} ,
"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
} ,
2018-01-24 17:04:36 +00:00
"processParameters" : { } ,
2017-04-10 11:41:01 +00:00
"quality" : "definition" ,
2018-01-29 19:03:06 +00:00
"drafts" : [ ] ,
2017-04-10 11:41:01 +00:00
"queue" : {
2018-01-24 17:04:36 +00:00
"id" : 330 ,
"name" : "DotNetCore-Build" ,
2017-04-10 11:41:01 +00:00
"pool" : {
2017-06-07 13:16:24 +00:00
"id" : 97 ,
"name" : "DotNetCore-Build"
2018-01-24 17:04:36 +00:00
}
2017-04-10 11:41:01 +00:00
} ,
"id" : 1053 ,
"name" : "DotNet-CoreFx-Trusted-OSX" ,
2018-01-24 17:04:36 +00:00
"path" : "\\" ,
"type" : "build" ,
"queueStatus" : "enabled" ,
2017-04-10 11:41:01 +00:00
"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" ,
2018-01-29 19:03:06 +00:00
"revision" : 418098432 ,
2018-01-24 17:04:36 +00:00
"visibility" : "organization"
2017-04-10 11:41:01 +00:00
}
2018-08-07 15:19:03 +00:00
}