Skip to content

Commit 2e1c35a

Browse files
safaceroCopilot
andcommitted
Ensure symbols are always published during VS insertion
Skip optional commit/work-item enrichment on the insertion step, and make the symbol download and archive steps always run so debug symbols are published even if a later step reports a non-fatal error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3f6316b commit 2e1c35a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

azure-pipelines/build-insertion.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,20 @@ extends:
7878
InsertAutoComplete: true
7979
ConnectedVSDropServiceName: 'VSEng-VSDrop-MI'
8080
TargetBranch: ${{ parameters.VSInsertTargetBranch }}
81+
# Skip optional commit/work-item enrichment; it is not needed for this repo
82+
# and can otherwise abort the step after the PR has already been created.
83+
AddCommitsToPR: false
84+
LinkWorkItemsToPR: false
8185
env:
8286
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
8387
- download: projectSystemBuild
8488
artifact: symbolsToArchive
8589
displayName: 🔻 Download symbolsToArchive artifact
90+
# Always publish symbols, even if a preceding step reports a non-fatal error.
91+
condition: succeededOrFailed()
8692
- task: MicroBuildArchiveSymbols@6
8793
displayName: 🔣 Archive symbols to Symweb
94+
condition: succeededOrFailed()
8895
inputs:
8996
TeamName: Node Tools for Visual Studio
9097
azureSubscription: 'VSEng-SymbolsUpload' # SERVICE CONNECTION

0 commit comments

Comments
 (0)