Script runs even though job is killed

16 views
Skip to first unread message

Roger McCarrick

unread,
Jul 14, 2025, 4:02:13 PMJul 14
to rundeck-discuss
Rundeck 4.15.0

I have seen a few times now that my powershell scripts continue after I kill a rundeck job.
My jobs run powershell ps1 files ... they can do anything from assigning IPs to Meraki Vlans to powering down VMs.

So in these  cases I hit the kill button straight away but the VM was shutdown anyway .. and the shutdown command comes much later in the script.
Same with the one that IPed the VLANs

rac...@rundeck.com

unread,
Jul 17, 2025, 11:48:30 AMJul 17
to rundeck-discuss
Hi Roger,

That was reported here; a community PR is created here. With Rundeck 5.X, probably that PR needs an in-depth review/tests to be merged into the codebase.

Thanks.
Reply all
Reply to author
Forward
0 new messages