Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ stages:
- checkout: self
clean: true
steps:
- script: eng\common\sdk-task.ps1 -task PublishToSymbolServers /p:DryRun="true" -restore
displayName: sdk-task verification
- powershell: eng\common\build.ps1
-configuration $(_BuildConfig)
-prepareMachine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- DotNetSymbolServerTokenMsdl : PAT to access MSDL.
- DotNetSymbolServerTokenSymWeb : PAT to access SymWeb.
- DotNetSymbolExpirationInDays : Expiration days for published packages. Default is 3650.
- DryRun : Switch parameter to handle dry run. Default is false.
- SymbolPublishingExclusionsFile : Path to file containing exclusion list to be used by Symbol Uploader.
- PublishSpecialClrFiles : If true, publish the DAC, DBI and SOS using the coreclr index. If false, don't do any special indexing.
-->
Expand Down Expand Up @@ -39,6 +40,7 @@

<PropertyGroup>
<DotNetSymbolExpirationInDays Condition="'$(DotNetSymbolExpirationInDays)' == ''">3650</DotNetSymbolExpirationInDays>
<DryRun Condition="'$(DryRun)' == ''">false</DryRun>
<PublishToSymbolServer>true</PublishToSymbolServer>
<PublishToSymWeb Condition="'$(PublishToSymWeb)' == ''">true</PublishToSymWeb>
<PublishToMSDL Condition="'$(PublishToMSDL)' == ''">true</PublishToMSDL>
Expand Down Expand Up @@ -96,7 +98,7 @@
SymbolServerPath="%(SymbolServerTargets.Identity)"
ExpirationInDays="$(DotNetSymbolExpirationInDays)"
VerboseLogging="true"
DryRun="false"
DryRun="$(DryRun)"
ConvertPortablePdbsToWindowsPdbs="false"
PdbConversionTreatAsWarning=""
PublishSpecialClrFiles="$(PublishSpecialClrFiles)"
Expand Down