Class: JenkinsJob::MultiJob
- Inherits:
-
Common::Common
- Object
- Common::Common
- JenkinsJob::MultiJob
- Includes:
- BuildStep
- Defined in:
- lib/rubyjobbuilderdsl/multijob.rb
Instance Attribute Summary collapse
-
#builders_ ⇒ Object
readonly
Returns the value of attribute builders_.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Common::Common
#builder, #concurrent_, #desc_, #logrotate_, #node_, #parameters_, #postbuild_, #properties_, #quiet_period_, #scm_, #triggers_, #wrappers_
Instance Method Summary collapse
-
#initialize(name, builder) ⇒ MultiJob
constructor
A new instance of MultiJob.
- #phase(name, &block) ⇒ Object
Methods inherited from Common::Common
#artifactory, #blocked_by, #concurrent, #desc, #gerrit, #git, #logrotate, #node, #parameter, #password, #password_parameter, #pollscm, #postbuild, #quiet_period, #scms, #timed, #timeout, #timestamps
Constructor Details
#initialize(name, builder) ⇒ MultiJob
Returns a new instance of MultiJob.
11 12 13 14 15 |
# File 'lib/rubyjobbuilderdsl/multijob.rb', line 11 def initialize(name, builder) super(builder) @name = name @builders_ = [] end |
Instance Attribute Details
#builders_ ⇒ Object (readonly)
Returns the value of attribute builders_.
9 10 11 |
# File 'lib/rubyjobbuilderdsl/multijob.rb', line 9 def builders_ @builders_ end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/rubyjobbuilderdsl/multijob.rb', line 9 def name @name end |