How to do a graceful shutdown of gitlab-runner on Windows?
Doing a graceful shutdown of the gitlab-runner process on Windows.
Using Powershell with administrative rights I tried:
taskkill \IM gitlab-runner.exethrows a message that the force-option has to be used,
taskkill \F \IM gitlab-runner.exe, which then shuts down gitlab-runner.exe immediately without finishing the jobs first.
Stop-Process -name gitlab-runnerkills the gitlab-runner.exe immediately without finishing the jobs first.
Windows 7 x64
Git revision: b23d3d44
GO version: go1.7.4
Built: Tue, 27 Dec 2016 15:30:25 +0000
UPDATE: Issue also exists with runner version 1.10.0.
Best regards and thanks in advance!