Skip to content

Commit

Permalink
Change crash dump location
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Corsaro committed Mar 26, 2024
1 parent abd2c88 commit a75dfb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion eng/devices/windows.cake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#load "../cake/dotnet.cake"
#load "./devices-shared.cake"

using Microsoft.Win32;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;

Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/common/device-tests-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ steps:
- ${{ if eq(parameters.platform, 'windows')}}:
- pwsh: |
$errorPath = "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"
New-ItemProperty -Path $errorPath -Name DumpFolder -PropertyType String -Value $(TestResultsDirectory)
New-ItemProperty -Path $errorPath -Name DumpFolder -PropertyType String -Value "$(Build.ArtifactStagingDirectory)/crash-dumps"
New-ItemProperty -Path $errorPath -Name DumpType -PropertyType DWORD -Value 2
displayName: 'Set dump file location'
continueOnError: true
Expand Down

0 comments on commit a75dfb2

Please sign in to comment.