class Pantograph::Actions::LaneContextAction

Public Class Methods

authors() click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 35
def self.authors
  ['KrauseFx']
end
available_options() click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 23
def self.available_options
  []
end
category() click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 55
def self.category
  :misc
end
description() click to toggle source

@!group Documentation

# File pantograph/lib/pantograph/actions/lane_context.rb, line 12
def self.description
  'Access lane context values'
end
details() click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 16
def self.details
  [
    'More information about how the lane context works:',
    '[https://urbanquakers.github.io/pantograph/advanced/#lane-context](https://urbanquakers.github.io/pantograph/advanced/#lane-context)'
  ].join(' ')
end
example_code() click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 48
def self.example_code
  [
    'lane_context[:BUILD_NUMBER]',
    'lane_context[SharedValues::NUMBER_OF_COMMITS]'
  ]
end
is_supported?(platform) click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 39
def self.is_supported?(platform)
  true
end
output() click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 27
def self.output
  []
end
return_type() click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 31
def self.return_type
  :hash
end
run(params) click to toggle source
# File pantograph/lib/pantograph/actions/lane_context.rb, line 4
def self.run(params)
  Actions.lane_context
end
step_text() click to toggle source

We don't want to show this as step

# File pantograph/lib/pantograph/actions/lane_context.rb, line 44
def self.step_text
  nil
end