CI Job cancelling procedure
Hi,
I have few runners that run on remote Windows 10 machine. I am using shell executor and powershell environment. In .gitlab-ci.yml I have jobs that mostly run .ps1 scripts (for example, build.ps1). Those scripts invoke external tools which create child processes, I also use Start-Process to run other scripts which also create a lot of child and grandchild processes.
When I press job's "Cancel" button, what happens next? I am interested in job jobs are terminated. I see some of those child processes are continue to run for some time. Do they still run then or are stopped and left to be cleared up?
Gitlab:
Version: 12.2.1-ee (e4a8b6c7)
Runner:
Version: 12.1.0
Git revision: de7731dd
Git branch: 12-1-stable
GO version: go1.8.7
Built: 2019-07-19T13:52:54+0000
OS/Arch: windows/amd64
Thank you in advance.