fix(gates): select a character in connected graphical runs
This commit is contained in:
parent
7a5f96ede5
commit
0b6c6557a8
4 changed files with 107 additions and 2 deletions
|
|
@ -730,6 +730,9 @@ $renderPackGate = New-ConnectedRenderPackGateState `
|
|||
-Root $artifactDir `
|
||||
-Preset $RenderPackPreset `
|
||||
-SettingOverrides $RenderPackSettingOverrides
|
||||
$sessionConfigPath = New-ConnectedGraphicalSessionConfig `
|
||||
-State $renderPackGate `
|
||||
-Account $Account
|
||||
try {
|
||||
$binaryIdentity = Get-ConnectedGateBinaryIdentity `
|
||||
-Repository $Repository -Executable $exe -SkipBuild:$SkipBuild
|
||||
|
|
@ -805,6 +808,7 @@ $envDisclosure | ConvertTo-Json -Depth 4 |
|
|||
|
||||
try {
|
||||
$process = Start-Process -FilePath $exe -WorkingDirectory $Repository `
|
||||
-ArgumentList @('--session-config', ('"' + $sessionConfigPath + '"')) `
|
||||
-RedirectStandardOutput $stdoutLog -RedirectStandardError $stderrLog -PassThru
|
||||
Write-Marker (
|
||||
"launch pid=$($process.Id) binaryCommit=$commit sourceCommit=$sourceCommit " +
|
||||
|
|
@ -1055,7 +1059,13 @@ finally {
|
|||
}
|
||||
}
|
||||
finally {
|
||||
Restore-ConnectedRenderPackGateEnvironment $renderPackGate
|
||||
try {
|
||||
Remove-ConnectedGraphicalSessionConfig `
|
||||
-State $renderPackGate -Path $sessionConfigPath
|
||||
}
|
||||
finally {
|
||||
Restore-ConnectedRenderPackGateEnvironment $renderPackGate
|
||||
}
|
||||
}
|
||||
|
||||
if ($failures.Count -gt 0) { exit 1 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue