Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID groovyaxis Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
0.3 (archives)
Jan 04, 2013
Source Code
Issue Tracking
Pull Requests
Open Issues
Pull Requests
Emanuele Zattin (id: emanuelez)
Usage Installations 2014-Nov 295
2014-Dec 289
2015-Jan 301
2015-Feb 305
2015-Mar 319
2015-Apr 326
2015-May 332
2015-Jun 348
2015-Jul 341
2015-Aug 364
2015-Sep 373
2015-Oct 370

Jenkins Groovy Axis Plugin


This plugin allows to have scriptable axes for Matrix Jobs. Groovy is the scripting language being used.

The script will have to return a list of strings and each of the strings will be an element of the axis.

If the script does not return a list of strings then


will be returned instead.


Define an axis with three values:

return [ "Axis1", "Axis2", "Axis3" ]

Define the same axis programmatically:

def result = []
(1..3).each {
   result += "Axis"+it
return result

Define an axis whose values are the files in the root directory:

def dir = new File('/')
def result = []
dir.eachFile {
   if (it.isFile()) {
      result += it.canonicalPath

return result



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

Add Comment