This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore official build for 2.1 (#28001)
- Loading branch information
Showing
13 changed files
with
5,148 additions
and
0 deletions.
There are no files selected for viewing
621 changes: 621 additions & 0 deletions
621
buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,360 @@ | ||
{ | ||
"build": [ | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": true, | ||
"alwaysRun": false, | ||
"displayName": "Run AgentTools/Begin.sh", | ||
"timeoutInMinutes": 0, | ||
"condition": "succeededOrFailed()", | ||
"task": { | ||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", | ||
"versionSpec": "2.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"targetType": "inline", | ||
"filePath": "", | ||
"arguments": "", | ||
"script": "if (Test-Path \"$(AgentToolsPath)\\Begin.sh\") {\n \"Begin.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\Begin.sh\n} else {\n \"Begin.sh script does not exist. Moving on...\"\n}", | ||
"errorActionPreference": "continue", | ||
"failOnStderr": "false", | ||
"ignoreLASTEXITCODE": "true", | ||
"workingDirectory": "" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": false, | ||
"alwaysRun": false, | ||
"displayName": "Run $(Agent.BuildDirectory)/s/clean.sh", | ||
"timeoutInMinutes": 0, | ||
"refName": "Task1", | ||
"task": { | ||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"filename": "$(Agent.BuildDirectory)/s/clean.sh", | ||
"arguments": "-all", | ||
"workingFolder": "", | ||
"failOnStandardError": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": false, | ||
"alwaysRun": false, | ||
"displayName": "Run $(Agent.BuildDirectory)/s/sync.sh", | ||
"timeoutInMinutes": 0, | ||
"refName": "Task2", | ||
"task": { | ||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"filename": "$(Agent.BuildDirectory)/s/sync.sh", | ||
"arguments": " -- /p:BuildType=$(PB_BuildType)", | ||
"workingFolder": "", | ||
"failOnStandardError": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": false, | ||
"alwaysRun": false, | ||
"displayName": "Run $(Agent.BuildDirectory)/s/build.sh", | ||
"timeoutInMinutes": 0, | ||
"refName": "Task3", | ||
"task": { | ||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"filename": "$(Agent.BuildDirectory)/s/build.sh", | ||
"arguments": "$(PB_BuildType) $(Architecture) skipnuget -skiprestore stripSymbols -OfficialBuildId=$(OfficialBuildId)", | ||
"workingFolder": "", | ||
"failOnStandardError": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": false, | ||
"alwaysRun": false, | ||
"displayName": "Run $(Agent.BuildDirectory)/s/build-packages.sh", | ||
"timeoutInMinutes": 0, | ||
"refName": "Task4", | ||
"task": { | ||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"filename": "$(Agent.BuildDirectory)/s/build-packages.sh", | ||
"arguments": "-BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -- /p:OfficialBuildId=$(OfficialBuildId)", | ||
"workingFolder": "", | ||
"failOnStandardError": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": false, | ||
"alwaysRun": false, | ||
"displayName": "Publish packages", | ||
"timeoutInMinutes": 0, | ||
"refName": "Task5", | ||
"task": { | ||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"filename": "$(Agent.BuildDirectory)/s/publish-packages.sh", | ||
"arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishPackages -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/pkg /p:PublishFlatContainer=$(PublishFlat) /p:OverwriteOnPublish=true", | ||
"workingFolder": "", | ||
"failOnStandardError": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": false, | ||
"alwaysRun": false, | ||
"displayName": "Publish symbol packages", | ||
"timeoutInMinutes": 0, | ||
"refName": "Task6", | ||
"task": { | ||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"filename": "$(Agent.BuildDirectory)/s/publish-packages.sh", | ||
"arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishSymbols -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/symbolpkg /p:OverwriteOnPublish=true", | ||
"workingFolder": "", | ||
"failOnStandardError": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": false, | ||
"alwaysRun": false, | ||
"displayName": "Publish test native binaries", | ||
"timeoutInMinutes": 0, | ||
"refName": "Task7", | ||
"task": { | ||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"filename": "$(Agent.BuildDirectory)/s/publish-packages.sh", | ||
"arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishSymbols -PublishTestNativeBins -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/TestNativeBins/$(Rid)-$(Architecture) /p:OverwriteOnPublish=true", | ||
"workingFolder": "", | ||
"failOnStandardError": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": true, | ||
"alwaysRun": true, | ||
"displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs", | ||
"timeoutInMinutes": 0, | ||
"condition": "succeededOrFailed()", | ||
"refName": "CopyFiles1", | ||
"task": { | ||
"id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c", | ||
"versionSpec": "2.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"SourceFolder": "", | ||
"Contents": "**/*.log", | ||
"TargetFolder": "$(Build.StagingDirectory)\\BuildLogs", | ||
"CleanTargetFolder": "false", | ||
"OverWrite": "false", | ||
"flattenFolders": "false" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": true, | ||
"alwaysRun": true, | ||
"displayName": "Publish Artifact: BuildLogs", | ||
"timeoutInMinutes": 0, | ||
"condition": "succeededOrFailed()", | ||
"refName": "PublishBuildArtifacts1", | ||
"task": { | ||
"id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe", | ||
"versionSpec": "1.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"PathtoPublish": "$(Build.StagingDirectory)\\BuildLogs", | ||
"ArtifactName": "BuildLogs", | ||
"ArtifactType": "Container", | ||
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)", | ||
"Parallel": "false", | ||
"ParallelCount": "8" | ||
} | ||
}, | ||
{ | ||
"environment": {}, | ||
"enabled": true, | ||
"continueOnError": true, | ||
"alwaysRun": true, | ||
"displayName": "Run AgentTools/End.sh", | ||
"timeoutInMinutes": 0, | ||
"condition": "succeededOrFailed()", | ||
"task": { | ||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", | ||
"versionSpec": "2.*", | ||
"definitionType": "task" | ||
}, | ||
"inputs": { | ||
"targetType": "inline", | ||
"filePath": "", | ||
"arguments": "", | ||
"script": "if (Test-Path \"$(AgentToolsPath)\\End.sh\") {\n \"End.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.sh\n} else {\n \"End.sh script does not exist. Moving on...\"\n}", | ||
"errorActionPreference": "continue", | ||
"failOnStderr": "false", | ||
"ignoreLASTEXITCODE": "true", | ||
"workingDirectory": "" | ||
} | ||
} | ||
], | ||
"options": [ | ||
{ | ||
"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": "{}" | ||
} | ||
}, | ||
{ | ||
"enabled": false, | ||
"definition": { | ||
"id": "5d58cc01-7c75-450c-be18-a388ddb129ec" | ||
}, | ||
"inputs": { | ||
"branchFilters": "[\"+refs/heads/*\"]", | ||
"additionalFields": "{}" | ||
} | ||
} | ||
], | ||
"variables": { | ||
"system.debug": { | ||
"value": "false", | ||
"allowOverride": true | ||
}, | ||
"PB_BuildType": { | ||
"value": "Release" | ||
}, | ||
"Architecture": { | ||
"value": "x64" | ||
}, | ||
"CloudDropAccountName": { | ||
"value": "dotnetbuildoutput" | ||
}, | ||
"CloudDropAccessToken": { | ||
"value": null, | ||
"isSecret": true | ||
}, | ||
"OfficialBuildId": { | ||
"value": "$(Build.BuildNumber)" | ||
}, | ||
"Label": { | ||
"value": "$(Build.BuildNumber)" | ||
} | ||
}, | ||
"demands": [], | ||
"retentionRules": [ | ||
{ | ||
"branches": [ | ||
"+refs/heads/*" | ||
], | ||
"artifacts": [], | ||
"artifactTypesToDelete": [ | ||
"FilePath", | ||
"SymbolStore" | ||
], | ||
"daysToKeep": 10, | ||
"minimumToKeep": 1, | ||
"deleteBuildRecord": true, | ||
"deleteTestResults": true | ||
} | ||
], | ||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)", | ||
"jobAuthorizationScope": "projectCollection", | ||
"jobTimeoutInMinutes": 60, | ||
"jobCancelTimeoutInMinutes": 5, | ||
"repository": { | ||
"properties": { | ||
"labelSources": "0", | ||
"reportBuildStatus": "true", | ||
"fetchDepth": "0", | ||
"gitLfsSupport": "false", | ||
"skipSyncSource": "false", | ||
"cleanOptions": "0", | ||
"checkoutNestedSubmodules": "false", | ||
"labelSourcesFormat": "$(build.buildNumber)" | ||
}, | ||
"id": "670e3783-ab4f-44fc-9786-d332007da311", | ||
"type": "TfsGit", | ||
"name": "DotNet-CoreCLR-Trusted", | ||
"url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted", | ||
"defaultBranch": "refs/heads/master", | ||
"clean": "true", | ||
"checkoutSubmodules": false | ||
}, | ||
"processParameters": {}, | ||
"quality": "definition", | ||
"drafts": [], | ||
"queue": { | ||
"id": 681, | ||
"name": "VSEng-MicroBuildMacSierra", | ||
"pool": { | ||
"id": 120, | ||
"name": "VSEng-MicroBuildMacSierra" | ||
} | ||
}, | ||
"id": 1680, | ||
"name": "DotNet-CoreClr-Trusted-Mac", | ||
"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 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": 418098432, | ||
"visibility": "organization" | ||
} | ||
} |
Oops, something went wrong.