Slave Squatter Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID slave-squatter Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.2
Aug 07, 2011
1.398
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Kohsuke Kawaguchi (id: kohsuke)
Usage Installations 2013-Apr 70
2013-May 79
2013-Jun 84
2013-Jul 89
2013-Aug 87
2013-Sep 82
2013-Oct 86
2013-Nov 94
2013-Dec 88
2014-Jan 86
2014-Feb 87
2014-Mar 94

This plugin enables administrators to reserve executors to be used outside Jenkins.

It is useful for making Jenkins aware of activities outside Jenkins — such as when you are using people's workstations as slaves (which need to be available for interactive use during day time) or when the system goes through a periodical backup, which reduces the I/O capability of the system.

By default, the reservation is specified in a cron-like syntax (but as you see below, this is an extension point.)

More specifically, you specify (1) an integer to decide the number of executors reserved (or special token "*" to indicate all the executors of the node), (2) a cron syntax to decide when a reservation starts, (3) number of minutes that decide the duration. So for example, to reserve 2 executors between 8am-5pm weekdays, you'd write the following:

# 5pm - 8am = 9hours = 540mins
2 : 0 8 * * 1-5 : 540
# or alternatively devide it up to 9 times 1hr reservation
2 : 0 8-16 * * 1-5 : 60

Extension Points

This plugin provides an extension point that allows other plugins to control the reservation programmatically (or by exposing it in a different UI.) For example, one might consider controlling reservations via existing calendar system such as Microsoft Exchange, or provide a simpler UI for common cases.

Changelog

Version 1.2 (Aug 7 2011)

  • Support '*' as the executor size to indicate "all the executors of the computer"
  • Add form validation

Version 1.1 (Sep 29 2010)

  • Implemented an extension point so that upcoming reservations are considered for making scheduling decisions

Version 1.0 (Sep 19 2010)

  • Initial version

Labels

Edit
plugin-slaves plugin-slaves Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment