Skip to content

Commit f30858c

Browse files
authored
Revert "Remove procdump for now"
1 parent 1f0c390 commit f30858c

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

azure-pipelines-official.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,14 @@ extends:
181181

182182
- template: /eng/restore-internal-tools.yml
183183

184-
# - powershell: ./eng/scripts/InstallProcDump.ps1
185-
# displayName: Install ProcDump
184+
- powershell: ./eng/scripts/InstallProcDump.ps1
185+
displayName: Install ProcDump
186186

187-
# - powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1
188-
# $(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig)
189-
# (Get-Date).AddMinutes(60)
190-
# devenv, xunit.console, xunit.console.x86
191-
# displayName: Start background dump collection
187+
- powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1
188+
$(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig)
189+
(Get-Date).AddMinutes(60)
190+
devenv, xunit.console, xunit.console.x86
191+
displayName: Start background dump collection
192192

193193
- task: NuGetAuthenticate@1
194194

@@ -239,10 +239,10 @@ extends:
239239
displayName: Run Integration Tests
240240
condition: and(eq(variables['RunIntegrationTests'], true), succeeded(), in(variables['Build.Reason'], 'PullRequest'))
241241

242-
# - powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig)
243-
# displayName: Finish background dump collection
244-
# continueOnError: true
245-
# condition: always()
242+
- powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig)
243+
displayName: Finish background dump collection
244+
continueOnError: true
245+
condition: always()
246246

247247
- task: 1ES.PublishPipelineArtifact@1
248248
inputs:

azure-pipelines.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ stages:
104104
command: custom
105105
arguments: 'locals all -clear'
106106

107-
# - powershell: ./eng/scripts/InstallProcDump.ps1
108-
# displayName: Install ProcDump
107+
- powershell: ./eng/scripts/InstallProcDump.ps1
108+
displayName: Install ProcDump
109109

110-
# - powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1
111-
# $(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig)
112-
# (Get-Date).AddMinutes(60)
113-
# devenv, xunit.console, xunit.console.x86
114-
# displayName: Start background dump collection
110+
- powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1
111+
$(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig)
112+
(Get-Date).AddMinutes(60)
113+
devenv, xunit.console, xunit.console.x86
114+
displayName: Start background dump collection
115115

116116
# Don't create a binary log until we can customize the name
117117
# https://github.com/dotnet/arcade/pull/12988
@@ -160,10 +160,10 @@ stages:
160160
displayName: Run Integration Tests
161161
condition: and(eq(variables['RunIntegrationTests'], true), succeeded(), in(variables['Build.Reason'], 'PullRequest'))
162162

163-
# - powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig)
164-
# displayName: Finish background dump collection
165-
# continueOnError: true
166-
# condition: always()
163+
- powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig)
164+
displayName: Finish background dump collection
165+
continueOnError: true
166+
condition: always()
167167

168168
- publish: artifacts/log/$(_BuildConfig)
169169
artifact: $(Agent.Os)_$(Agent.JobName) Attempt $(System.JobAttempt) Logs

0 commit comments

Comments
 (0)