Resume pipeline on a different slave

24 views
Skip to first unread message

Michal Tekel'

unread,
May 25, 2017, 9:41:57 AM5/25/17
to Jenkins Users
Hi,

I have a question if it is possible to configure Jenkins to resume pipeline build (e.g. after Jenkins restart) on any slave which has required labels. Currently jenkins will only try to resume on the exactly same build slave the pipeline was running on before. But sometimes, this slave is never coming back (e.g. it was a mesos slave and the task is expired). Such jobs can then never resume, even though jenkins has enough build slaves of required type available after restart.

Thanks,

Michael

Arvind Jayaprakash

unread,
May 30, 2017, 9:48:46 AM5/30/17
to Jenkins Users
I face the same issue with Mesos and my understanding is that there is a way to declare slaves as ephemeral i.e.they will never come back once they are gone. This appeared to be something that the cloud provider plugin (mesos in this case) needs to worry about. 

Michael Kobit

unread,
May 30, 2017, 10:19:44 AM5/30/17
to Jenkins Users

Are there other ways than that plugin? It seems like agents should be considered fungible in general. There doesn't seem to be any way on Dumb Slave that I can see.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4ed72f0c-e3dc-479a-9b61-effdcdb71842%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages