Module: Jujube::Components::Axes
Overview
Helper methods for creating matrix axes components.
Instance Method Summary collapse
-
#label_expression(name, values) ⇒ Hash
Specify a
label-expression
axis for a matrix job. -
#slave(name, values) ⇒ Hash
Specify a
slave
axis for a matrix job.
Methods included from Macros
Instance Method Details
#label_expression(name, values) ⇒ Hash
Specify a label-expression
axis for a matrix job.
See https://jenkins-job-builder.readthedocs.io/en/latest/project_matrix.html.
15 16 17 |
# File 'lib/jujube/components/axes.rb', line 15 def label_expression(name, values) axis(name, values, :label_expression) end |
#slave(name, values) ⇒ Hash
Specify a slave
axis for a matrix job.
See https://jenkins-job-builder.readthedocs.io/en/latest/project_matrix.html.
26 27 28 |
# File 'lib/jujube/components/axes.rb', line 26 def slave(name, values) axis(name, values, :slave) end |