Label Verifier Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID label-verifier Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.1 (archives)
Dec 08, 2013
1.424
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Kohsuke Kawaguchi (id: kohsuke)
Oleg Nenashev (id: oleg_nenashev)
Usage Installations 2014-Feb 126
2014-Mar 123
2014-Apr 121
2014-May 112
2014-Jun 113
2014-Jul 121
2014-Aug 125
2014-Sep 125
2014-Oct 122
2014-Nov 127
2014-Dec 118
2015-Jan 118

This plugin allows system administrator to programmatically verify the label assignment correctness on slaves. It is useful to prevent a human error in label assignment when you have a larger number or self-organizing slaves, and generally as a means to make sure your cluster is healthy.

Usage

Go to the label configuration page of the label whose assignment you want to validate. For example, http://yourserver/jenkins/label/foo/configure.
You can associate "label verifies" through this UI, as follows:

The script specified here gets executed every time a slave with this label comes online. If the script returns non-zero exit code, the label assignment is considered illegal, and Jenkins will mark the slave as offline to prevent it from getting used for a build.

Extension points

LabelVerifier is an extension point that can be implemented by other plugins, to perform the check in other means.

Open issues

History

Version 1.1 (Dec 08, 2013)

  • Regular expression verifier
  • Logic expressions (AND, OR, NOT)

Version 1.0 (Sep 11, 2010)

  • First release

Labels

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