Dynamic agents are not getting terminated if the job is cancelled

14 views
Skip to first unread message

Satya Elipe

unread,
Sep 28, 2022, 8:11:30 AM9/28/22
to go...@googlegroups.com
Hi All 
Would like to seek some inputs here for the issue that Im facing at the moment with dynamic agents 

Dynamic agents are not getting terminated when the job is cancelled before completion due to some job/script issues.

They stay back until I terminate them.

Wonder if I'm missing something in my configuration ? Any suggestions please, thank you ...

Regards
Satya
Screenshot 2022-09-28 at 13.03.12.png

Satya Elipe

unread,
Sep 28, 2022, 8:21:22 AM9/28/22
to go...@googlegroups.com
Screenshot 2022-09-28 at 13.20.23.png

Aravind SV

unread,
Sep 29, 2022, 5:32:08 AM9/29/22
to Satya Elipe, go...@googlegroups.com

Hello,

Do you have any “On Cancel” tasks in that job? If you do, then the killing of running/stuck tasks is skipped by GoCD. You’ll need to handle that in your on cancel tasks.

Cheers,
Aravind

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CADKEDRq0a%3DVpyCQ63-ui1kjTAcckFLtRU0YHSXHxM7s4vrcWUg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages