jenkinsci/job-dsl-plugin — pull request #118 by JeremyMarshall (2013-12-18 04:52:51+00:00)
Title: added top level support for Matrixjob

I added a new job type of Matrixjob to support jobs with axes

e.g.

job (type: Matrixjob){
concurrentBuild true
matrixAxis( ', 'TEST', ArrayList )
matrixSequential true
matrixCombinationFilter "TEST=='val''
matrixTouchstoneFilter "TEST=='val'"
}

which supports the three standard axes of node/label, node/label expression and text label

Plugins can extend the axes so I think there is a TODO to allow a closure to define the axis