Module: CI::Queue::OutputHelpers::BuildkiteOutput

Extended by:
BuildkiteOutput
Included in:
BuildkiteOutput
Defined in:
lib/ci/queue/output_helpers.rb

Instance Method Summary collapse

Instance Method Details

#close_previous_stepObject



71
72
73
# File 'lib/ci/queue/output_helpers.rb', line 71

def close_previous_step
  puts '^^^ ---'
end

#reopen_previous_stepObject



67
68
69
# File 'lib/ci/queue/output_helpers.rb', line 67

def reopen_previous_step
  puts '^^^ +++'
end

#step(title, collapsed: true) ⇒ Object



62
63
64
65
# File 'lib/ci/queue/output_helpers.rb', line 62

def step(title, collapsed: true)
  prefix = collapsed ? '---' : '+++'
  puts "#{prefix} #{title}"
end