Restarting Jenkins master while running jobs?

683 views
Skip to first unread message

David Aldrich

unread,
Oct 31, 2016, 9:28:20 AM10/31/16
to jenkins...@googlegroups.com

Hi

 

Our Jenkins instance runs some very long-running simulation jobs. These can run for up to 5 weeks. This makes it difficult to schedule restarts for software updates.

 

Is it possible to restart Jenkins master without stopping jobs that are running on slaves?

 

Best regards

 

David

 

Daniel Beck

unread,
Oct 31, 2016, 11:00:31 AM10/31/16
to jenkins...@googlegroups.com

> On 31.10.2016, at 14:28, David Aldrich <David....@EMEA.NEC.COM> wrote:
>
> Is it possible to restart Jenkins master without stopping jobs that are running on slaves?

Any plugin depending on Durable Task Plugin should be able to do this.

In the current update site, I found several Docker-related plugins, and of course Pipeline Durable Task Step plugin, which underlies sh/bat Pipeline build steps.

David Aldrich

unread,
Oct 31, 2016, 1:46:57 PM10/31/16
to jenkins...@googlegroups.com
Hi Daniel

> In the current update site, I found several Docker-related plugins, and of
> course Pipeline Durable Task Step plugin, which underlies sh/bat Pipeline build
> steps.

Thanks for your answer. I guess I should convert my current job to use Pipeline build steps and then use the Pipeline Durable Task Step plugin as you suggest.

So far, I have avoided Pipeline but I guess I will have to understand it sooner or later.

Best regards

David
Reply all
Reply to author
Forward
0 new messages