We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0b67b commit e9e619aCopy full SHA for e9e619a
eng/pipelines/scripts/Get-Heap-Dump-Hprofs.ps1
@@ -27,6 +27,8 @@ if ($hrpofs.Count -gt 0) {
27
if (-not (Test-Path "$StagingDirectory/troubleshooting")) {
28
New-Item -ItemType Directory -Path "$StagingDirectory/troubleshooting" | Out-Null
29
}
30
- Compress-Archive -Path $hrpofs -DestinationPath "$StagingDirectory/troubleshooting/$OomArtifactName.zip"
+ $destTar = "$StagingDirectory/troubleshooting/$OomArtifactName.tar.gz"
31
+
32
+ & tar -czf $destTar -- $hrpofs.FullName
33
Write-Host "##vso[task.setvariable variable=HAS_TROUBLESHOOTING]true"
34
0 commit comments