added Single Use Slave plugin

Change-Id: Ibb9579aa107d666bc38e9e285fb8ec4b7eec83bc
This commit is contained in:
Lenny Verkhovsky 2017-03-27 15:35:11 +00:00
parent 404112316a
commit 469b881ced
2 changed files with 25 additions and 0 deletions

View File

@ -553,6 +553,28 @@ Reconfigure your system to use Jenkins security settings stored in
sudo puppet apply --verbose /etc/puppet/manifests/site.pp
Configuring Jenkins Plugins (recommended)
-----------------------------------------
single-use slave:
This plugin will mark nodes as offline when a job completes on them.
This plugin is intended to be used with external tools like Nodepool,
which has the ability to spin up slaves on demand and then reap them when
Jenkins has run a job on them. This plugin is needed because there is a race
condition between when the job completes and when the external tool is able
to reap the node.
Labels can be taken from the project-config/nodepool/nodepool.yaml file
under section "labels".
::
http://<host fqdn/ip>:8080/
Manage Jenkins --> Configure System
Under "Single Use Slaves"
Add comma seperated labels
Updating your masterless puppet hosts
=====================================

View File

@ -100,6 +100,9 @@ class openstackci::jenkins_master (
jenkins::plugin { 'token-macro':
version => '1.5.1',
}
jenkins::plugin { 'singleuseslave':
version => '1.0.0',
}
if $manage_jenkins_jobs == true {
if ! defined(Class['project_config']) {