class Fastlane::Actions::IsCiAction

Public Class Methods

authors() click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 28
def self.authors
  ["KrauseFx"]
end
available_options() click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 20
def self.available_options
  []
end
category() click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 46
def self.category
  :misc
end
description() click to toggle source

@!group Documentation

# File fastlane/lib/fastlane/actions/is_ci.rb, line 12
def self.description
  "Is the current run being executed on a CI system, like Jenkins or Travis"
end
details() click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 16
def self.details
  "The return value of this method is true if fastlane is currently executed on Travis, Jenkins, Circle or a similar CI service"
end
example_code() click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 36
def self.example_code
  [
    'if is_ci
      puts "I\'m a computer"
    else
      say "Hi Human!"
    end'
  ]
end
is_supported?(platform) click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 32
def self.is_supported?(platform)
  true
end
return_type() click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 24
def self.return_type
  :bool
end
run(params) click to toggle source
# File fastlane/lib/fastlane/actions/is_ci.rb, line 4
def self.run(params)
  Helper.ci?
end