class Papa::Task::Common::Start
Private Instance Methods
failure_message()
click to toggle source
# File lib/papa/task/common/start.rb, line 27 def failure_message Helper::Output.failure "There was a problem starting #{@build_type} branch: #{build_branch}" end
queue()
click to toggle source
# File lib/papa/task/common/start.rb, line 12 def queue [ Command::Git::Fetch.new('origin'), Command::Git::Checkout.new(@base_branch), Command::Git::ResetHard.new('origin', @base_branch), Command::Git::Branch.new(build_branch), Command::Git::Checkout.new(build_branch), Command::Git::Push.new('origin', build_branch) ] end
success_message()
click to toggle source
# File lib/papa/task/common/start.rb, line 23 def success_message Helper::Output.success "Successfully started new #{@build_type} branch #{build_branch}" end