Method: RunLoop::Environment.jenkins?
- Defined in:
- lib/run_loop/environment.rb
.jenkins? ⇒ Boolean
Returns true if running in Jenkins CI
Checks the value of JENKINS_HOME
96 97 98 99 |
# File 'lib/run_loop/environment.rb', line 96 def self.jenkins? value = ENV["JENKINS_HOME"] !!value && value != '' end |