Module: Jujube::DSL
- Includes:
- Components
- Defined in:
- lib/jujube/dsl.rb
Overview
The top-level DSL to be used when defining jobs.
Instance Method Summary collapse
-
#job(name) {|job| ... } ⇒ Object
Define a new Jenkins job.
Methods included from Components::Publishers
#archive, #cppcheck, #email_ext, #fitnesse, #ircbot, #junit, #trigger, #unittest, #xunit
Methods included from Components::Builders
Methods included from Components::Wrappers
Methods included from Components::Triggers
#json, #pollscm, #pollurl, #reverse, #simple, #text, #url, #xml
Methods included from Components::Scm
#bundle, #git, #package, #store
Methods included from Macros
Methods included from Components::Properties
Methods included from Components::Parameters
Instance Method Details
#job(name) {|job| ... } ⇒ Object
Define a new Jenkins job.
Takes a configuration block that is used to configure the job by setting attribute values and adding components to the various sections of the job.
33 34 35 |
# File 'lib/jujube/dsl.rb', line 33 def job(name, &block) Job.new(name, &block) end |