Module: Jujube::Components::Builders
Overview
Helper methods for creating builder components.
Instance Method Summary collapse
-
#copyartifact(options = {}) ⇒ Hash
Specify a
copyartifact
builder for a job. -
#shell(command) ⇒ Hash
Specify a
shell
builder for a job.
Instance Method Details
#copyartifact(options = {}) ⇒ Hash
Specify a copyartifact
builder for a job. Requires the copyartifact
plugin.
See https://jenkins-job-builder.readthedocs.io/en/latest/builders.html#builders.copyartifact.
15 |
# File 'lib/jujube/components/builders.rb', line 15 standard_component :copyartifact |
#shell(command) ⇒ Hash
Specify a shell
builder for a job.
See https://jenkins-job-builder.readthedocs.io/en/latest/builders.html#builders.shell.
23 24 25 |
# File 'lib/jujube/components/builders.rb', line 23 def shell(command) {'shell' => command} end |