1111# specified in the 'symbolServers' parameter.
1212
1313parameters :
14+ # True to enable debug information and steps.
15+ - name : debug
16+ type : boolean
17+
1418 # The list of symbol servers to verify against. Each entry has a 'name' (friendly display name)
1519 # and 'url' (the symbol server URL that symchk can query).
1620 - name : symbolServers
4347 extractRoot : $(Build.SourcesDirectory)\symchk_packages
4448
4549 steps :
46- - script : SET
47- displayName : Print Environment Variables
50+ - ${{ if parameters.debug }} :
51+ - script : SET
52+ displayName : Print Environment Variables
4853
4954 # ── Download, extract, and verify symbols for each package ──────────────
5055
@@ -55,12 +60,14 @@ jobs:
5560 displayName : Download ${{ pkg.packageName }}
5661
5762 - ${{ each server in parameters.symbolServers }} :
58- - powershell : >
59- $(Build.SourcesDirectory)\eng\pipelines\onebranch\jobs\validate-symbols.ps1
60- -ArtifactPath "$(Pipeline.Workspace)\${{ pkg.artifactName }}"
61- -ExtractPath "$(extractRoot)\${{ pkg.packageName }}"
62- -PackageName "${{ pkg.packageName }}"
63- -DllPath "${{ pkg.dllPath }}"
64- -SymbolServerUrl "${{ server.url }}"
65- -SymbolServerName "${{ server.name }}"
63+ - task : PowerShell@2
6664 displayName : Verify ${{ pkg.packageName }} on ${{ server.name }}
65+ inputs :
66+ filePath : eng/pipelines/onebranch/jobs/validate-symbols.ps1
67+ arguments : >
68+ -ArtifactPath "$(Pipeline.Workspace)\${{ pkg.artifactName }}"
69+ -ExtractPath "$(extractRoot)\${{ pkg.packageName }}"
70+ -PackageName "${{ pkg.packageName }}"
71+ -DllPath "${{ pkg.dllPath }}"
72+ -SymbolServerUrl "${{ server.url }}"
73+ -SymbolServerName "${{ server.name }}"
0 commit comments