Enable symbol publishing (dotnet/core-setup#3545)
authorMike McLaughlin <mikem@microsoft.com>
Tue, 19 Dec 2017 23:00:06 +0000 (15:00 -0800)
committerGitHub <noreply@github.com>
Tue, 19 Dec 2017 23:00:06 +0000 (15:00 -0800)
Enable symbol publishing

Using version 1.0.0-alpha-00014 of the Microsoft.SymbolUploader.Build.Task package.

Switch to ppe test server

Commit migrated from https://github.com/dotnet/core-setup/commit/ccd9ca9039d2af3e9d7752ce47eee5c59caf003e

src/installer/buildpipeline/Core-Setup-Publish.json
src/installer/dependencies.props
src/installer/publish/publish.proj

index d5947d6..de43c1d 100644 (file)
       "value": "$(Build.SourcesDirectory)\\tools"
     },
     "PB_SymbolServerPath": {
-      "value": "https://mikemvsts.artifacts.visualstudio.com/DefaultCollection"
+      "value": "https://microsoftpublicsymbolsppe.artifacts.visualstudio.com/DefaultCollection"
     },
     "PB_SymbolServerPAT": {
       "value": null,
index 560c957..1274777 100644 (file)
@@ -56,7 +56,7 @@
   <!-- Publish symbol build task package -->
   <PropertyGroup>
     <PublishSymbolsPackage>Microsoft.SymbolUploader.Build.Task</PublishSymbolsPackage>
-    <PublishSymbolsPackageVersion>1.0.0-alpha-00001</PublishSymbolsPackageVersion>
+    <PublishSymbolsPackageVersion>1.0.0-alpha-00014</PublishSymbolsPackageVersion>
   </PropertyGroup>
 
   <ItemGroup>
index 2634483..86d55bd 100644 (file)
@@ -33,7 +33,7 @@
 
   <Target Name="PublishFinalOutput"
           Condition="'$(Finalize)' == 'true'"
-          DependsOnTargets="PublishCoreHostPackages;FinalizeBuildInAzure;UpdateVersionsRepo" />
+          DependsOnTargets="PublishCoreHostPackages;SetupPublishSymbols;PublishSymbols;FinalizeBuildInAzure;UpdateVersionsRepo" />
 
   <!--
     Target wrapping UpdatePublishedVersions: ensures that ShippedNuGetPackage items are created and
 
   <Target Name="SetupPublishSymbols" Condition="'$(SymbolServerPath)'!=''" >
     <PropertyGroup>
-      <SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">1</SymbolExpirationInDays>
-      <ConvertPortablePdbsToWindowsPdbs>true</ConvertPortablePdbsToWindowsPdbs>
+      <SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">5</SymbolExpirationInDays>
+      <SymbolVerboseLogging>true</SymbolVerboseLogging>
+      <ConvertPortablePdbsToWindowsPdbs>false</ConvertPortablePdbsToWindowsPdbs>
     </PropertyGroup>
     <ItemGroup>
       <SymbolPackagesToPublish Include="$(DownloadDirectory)**\*.symbols.nupkg" />