Class: JenkinsJob::Pipeline

Inherits:
Common::Common show all
Defined in:
lib/rubyjobbuilderdsl/pipeline.rb

Instance Attribute Summary collapse

Attributes inherited from Common::Common

#builder, #concurrent_, #desc_, #logrotate_, #node_, #parameters_, #postbuild_, #properties_, #quiet_period_, #scm_, #triggers_, #wrappers_

Instance Method Summary collapse

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

#nameObject (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