Skip to content

[shell] Terminate Old PowerShell Script children processes when cancelling the job through UI

Romuald Atchadé requested to merge shell-cancel-windows into main

What does this MR do?

When the job is canceled, PowerShell job hangs indefinitely because the current process termination doesn't work as intended. In this change, we forcefully terminate/kill the ongoing stage script with a PowerShell script

Why was this MR needed?

To make sure, the job is actually cancelled when the user hit the cancel button on the UI

What's the best way to test this MR?

TBD

What are the relevant issue numbers?

close gitlab#462181

Merge request reports

Loading