is_ci

Is the current run being executed on a CI system, like Jenkins or Travis

The return value of this method is true if fastlane is currently executed on Travis, Jenkins, Circle or a similar CI service

is_ci
Supported platforms ios, android, mac
Author @KrauseFx

1 Example

if is_ci?
  puts "I'm a computer"
else
  say "Hi Human!"
end


To show the documentation in your terminal, run

fastlane action is_ci

View source code


Back to actions