зеркало из https://github.com/dotnet/pinvoke.git
Fix dmp collection on Azure Pipelines
This commit is contained in:
Родитель
532c6245f4
Коммит
c5581d16fe
|
@ -2,7 +2,7 @@ if ($env:AGENT_TEMPDIRECTORY) {
|
||||||
# The DotNetCoreCLI uses an alternate location to publish these files
|
# The DotNetCoreCLI uses an alternate location to publish these files
|
||||||
$guidRegex = '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$'
|
$guidRegex = '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$'
|
||||||
@{
|
@{
|
||||||
$env:AGENT_TEMPDIRECTORY = (Get-ChildItem $env:AGENT_TEMPDIRECTORY -Directory |? { $_.Name -match $guidRegex } |% { Get-ChildItem "$($_.FullName)\testhost.*.dmp","$($_.FullName)\Sequence_*.xml" -Recurse });
|
$env:AGENT_TEMPDIRECTORY = (Get-ChildItem $env:AGENT_TEMPDIRECTORY -Directory |? { $_.Name -match $guidRegex } |% { Get-ChildItem "$($_.FullName)\testhost*.dmp","$($_.FullName)\Sequence_*.xml" -Recurse });
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$srcRoot = Resolve-Path "$PSScriptRoot\..\..\src"
|
$srcRoot = Resolve-Path "$PSScriptRoot\..\..\src"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче