Class: JenkinsJob::Pipeline
- Inherits:
-
Common::Common
- Object
- Common::Common
- JenkinsJob::Pipeline
- Defined in:
- lib/rubyjobbuilderdsl/pipeline.rb
Instance Attribute Summary collapse
-
#groovy_ ⇒ Object
readonly
Returns the value of attribute groovy_.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#schedule_ ⇒ Object
readonly
Returns the value of attribute schedule_.
Attributes inherited from Common::Common
#builder, #concurrent_, #desc_, #logrotate_, #node_, #parameters_, #postbuild_, #properties_, #quiet_period_, #scm_, #triggers_, #wrappers_
Instance Method Summary collapse
- #groovy(value) ⇒ Object
-
#initialize(name, builder) ⇒ Pipeline
constructor
A new instance of Pipeline.
- #schedule(value) ⇒ 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) ⇒ Pipeline
5 6 7 8 |
# File 'lib/rubyjobbuilderdsl/pipeline.rb', line 5 def initialize(name, builder) super(builder) @name = name end |
Instance Attribute Details
#groovy_ ⇒ Object (readonly)
Returns the value of attribute groovy_.
3 4 5 |
# File 'lib/rubyjobbuilderdsl/pipeline.rb', line 3 def groovy_ @groovy_ end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/rubyjobbuilderdsl/pipeline.rb', line 3 def name @name end |
#schedule_ ⇒ Object (readonly)
Returns the value of attribute schedule_.
3 4 5 |
# File 'lib/rubyjobbuilderdsl/pipeline.rb', line 3 def schedule_ @schedule_ end |
Instance Method Details
#groovy(value) ⇒ Object
10 11 12 |
# File 'lib/rubyjobbuilderdsl/pipeline.rb', line 10 def groovy(value) @groovy_ = value end |
#schedule(value) ⇒ Object
14 15 16 |
# File 'lib/rubyjobbuilderdsl/pipeline.rb', line 14 def schedule(value) @schedule_ = value end |