Class: Papa::Task::Integration::Start

Inherits:
Common::Start show all
Defined in:
lib/papa/task/integration/start.rb

Instance Method Summary collapse

Methods inherited from Base

#run

Constructor Details

#initialize(base_branch, options = {}) ⇒ Start

Returns a new instance of Start.



10
11
12
13
14
15
# File 'lib/papa/task/integration/start.rb', line 10

def initialize(base_branch, options = {})
  @build_type = 'integration'
  @base_branch = base_branch
  @build_branch = "#{@build_type}/#{options[:override_branch_name] || generate_integration_timestamp}"
  super()
end