Dedicated Executors for specific Jobs

19 views
Skip to first unread message

Mehdi Hayani

unread,
May 19, 2016, 5:37:24 AM5/19/16
to jenkins...@googlegroups.com

Hello Team,

I'm in charge of maintaining a mutualized continuous integration platform which is based on Jenkins.

Actually for each integrated project we create a specific Job for deployment: its role is to only send a list of parameters among them the environment to an external tool which is responsible for deployment, and the build keeps running waiting for the deployment end.

Sometimes, we may have deployment taking more than 6 hours and this, as you can see keeps occupying executors :/

So I'm wondering if there is a way to increase the number of executors (actually we have 8, why not put 20) and the newly added ones should be dedicated only for deployment jobs ??

I don't know if you guys have encountered this before? Otherwise any other solutions are welcome

PS: Adding a slave is not possible for the moment, So I should deal with the only server I have :)

Thank you in advance.

Regards,

Mehdi


Dirk Heinrichs

unread,
May 19, 2016, 6:33:15 AM5/19/16
to jenkins...@googlegroups.com
Am 19.05.2016 um 11:37 schrieb Mehdi Hayani:

PS: Adding a slave is not possible for the moment, So I should deal with the only server I have :)

If that slave is Linux, it could as well dynamically create and run Docker slaves and use these to run the job.

HTH...

    Dirk
--

Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Email: d...@recommind.com
Skype: dirk.heinrichs.recommind
www.recommind.com

Björn Pedersen

unread,
May 19, 2016, 9:04:17 AM5/19/16
to Jenkins Users

You can have slaves running on the master (using docker has been named).
The simplest solution ist  to use e.g. a ssh slave on the same machine.

Björn

Mehdi Hayani

unread,
May 19, 2016, 10:03:30 AM5/19/16
to jenkins...@googlegroups.com
Hello, thank you for your answer :)

I'll try to set the same machine as SSH slave and dedicate this slave to deployment job only.


Regards,
Mehdi

--
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/49a1c6f4-bdcb-47e9-a448-ded9bcc90846%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages