diff --git a/azure-pipelines-official.yml b/azure-pipelines-official.yml index 9a936f52df8..a12cb9cc69f 100644 --- a/azure-pipelines-official.yml +++ b/azure-pipelines-official.yml @@ -181,14 +181,14 @@ extends: - template: /eng/restore-internal-tools.yml - # - powershell: ./eng/scripts/InstallProcDump.ps1 - # displayName: Install ProcDump + - powershell: ./eng/scripts/InstallProcDump.ps1 + displayName: Install ProcDump - # - powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1 - # $(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig) - # (Get-Date).AddMinutes(60) - # devenv, xunit.console, xunit.console.x86 - # displayName: Start background dump collection + - powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1 + $(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig) + (Get-Date).AddMinutes(60) + devenv, xunit.console, xunit.console.x86 + displayName: Start background dump collection - task: NuGetAuthenticate@1 @@ -239,10 +239,10 @@ extends: displayName: Run Integration Tests condition: and(eq(variables['RunIntegrationTests'], true), succeeded(), in(variables['Build.Reason'], 'PullRequest')) - # - powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig) - # displayName: Finish background dump collection - # continueOnError: true - # condition: always() + - powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig) + displayName: Finish background dump collection + continueOnError: true + condition: always() - task: 1ES.PublishPipelineArtifact@1 inputs: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 48afede95f5..2bd257f1a7d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -104,14 +104,14 @@ stages: command: custom arguments: 'locals all -clear' - # - powershell: ./eng/scripts/InstallProcDump.ps1 - # displayName: Install ProcDump + - powershell: ./eng/scripts/InstallProcDump.ps1 + displayName: Install ProcDump - # - powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1 - # $(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig) - # (Get-Date).AddMinutes(60) - # devenv, xunit.console, xunit.console.x86 - # displayName: Start background dump collection + - powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1 + $(ProcDumpPath)procdump.exe artifacts/log/$(_BuildConfig) + (Get-Date).AddMinutes(60) + devenv, xunit.console, xunit.console.x86 + displayName: Start background dump collection # Don't create a binary log until we can customize the name # https://github.com/dotnet/arcade/pull/12988 @@ -160,10 +160,10 @@ stages: displayName: Run Integration Tests condition: and(eq(variables['RunIntegrationTests'], true), succeeded(), in(variables['Build.Reason'], 'PullRequest')) - # - powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig) - # displayName: Finish background dump collection - # continueOnError: true - # condition: always() + - powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/log/$(_BuildConfig) + displayName: Finish background dump collection + continueOnError: true + condition: always() - publish: artifacts/log/$(_BuildConfig) artifact: $(Agent.Os)_$(Agent.JobName) Attempt $(System.JobAttempt) Logs