diff options
author | Chris Rummel <crummel@microsoft.com> | 2017-06-05 02:20:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-05 02:20:43 +0300 |
commit | 98c0f9b4a9a9d1140df119d5ef64355723f4caec (patch) | |
tree | 9c67b36a6e407b03a2d369c5fa70ebb2ef3e13d4 /buildpipeline | |
parent | 26d7be9e3a8e4e891123bf7c4b9f8e09ba59d02f (diff) |
Add symbol signatures to NuGet packages. (#20597)
* Add symbol signatures to NuGet packages.
* Update to newest version of BuildTools with the catalog fix.
Diffstat (limited to 'buildpipeline')
-rw-r--r-- | buildpipeline/DotNet-Trusted-Publish.json | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/buildpipeline/DotNet-Trusted-Publish.json b/buildpipeline/DotNet-Trusted-Publish.json index 280fdd7358..6e1bf95693 100644 --- a/buildpipeline/DotNet-Trusted-Publish.json +++ b/buildpipeline/DotNet-Trusted-Publish.json @@ -4,6 +4,25 @@ "enabled": true, "continueOnError": false, "alwaysRun": false, + "displayName": "Install Signing Plugin", + "timeoutInMinutes": 0, + "condition": "succeeded()", + "task": { + "id": "30666190-6959-11e5-9f96-f56098202fef", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "signType": "real", + "zipSources": "true", + "version": "", + "feedSource": "https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json" + } + }, + { + "enabled": true, + "continueOnError": false, + "alwaysRun": false, "displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat", "timeoutInMinutes": 0, "task": { @@ -83,6 +102,27 @@ "enabled": true, "continueOnError": false, "alwaysRun": false, + "displayName": "Inject signed symbol catalogs", + "timeoutInMinutes": 0, + "condition": "succeeded()", + "task": { + "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "scriptType": "inlineScript", + "scriptName": "", + "arguments": "-ConfigGroup $(PB_ConfigurationGroup) -SymPkgGlob $(PB_AzureContainerSymbolPackageGlob) -PipelineSrcDir $(Pipeline.SourcesDirectory)", + "workingFolder": "$(Pipeline.SourcesDirectory)", + "inlineScript": "param($ConfigGroup, $SymPkgGlob, $PipelineSrcDir)\n\n.\\build-managed.cmd -- /t:InjectSignedSymbolCatalogIntoSymbolPackages `\n/p:SymbolPackagesToPublishGlob=$PipelineSrcDir\\packages\\AzureTransfer\\$ConfigGroup\\$SymPkgGlob `\n/p:SymbolCatalogCertificateId=400", + "failOnStandardError": "true" + } + }, + { + "enabled": true, + "continueOnError": false, + "alwaysRun": false, "displayName": "Index symbol packages", "timeoutInMinutes": 0, "task": { @@ -221,6 +261,20 @@ "retentionDays": "", "dropMetadataContainerName": "DropMetadata" } + }, + { + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Send Telemetry", + "timeoutInMinutes": 0, + "condition": "always()", + "task": { + "id": "521a94ea-9e68-468a-8167-6dcf361ea776", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": {} } ], "options": [ |