Skip to content

is_ci

Community Action Reference: Inspected directly from Fastlane core ruby gem definitions.

Supported Platforms: ios, android, mac

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

Details

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

Parameters & Options

This action takes no parameters or options.

Examples

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

Source & Upstream