Sha256: 556717bb309dd111ed581b0f951dadc0c2101ec476a529d31aa5c334a7b0cbe6
Contents?: true
Size: 352 Bytes
Versions: 38
Compression:
Stored size: 352 Bytes
Contents
module Bozo::Hooks class Jenkins def pre_build if Jenkins.hosted_in_jenkins? env['BUILD_URL'] = ENV['BUILD_URL'] env['BUILD_NUMBER'] = ENV['BUILD_NUMBER'] env['BUILD_NAME'] = ENV['JOB_NAME'] end end def self.hosted_in_jenkins? not ENV['JENKINS_HOME'].nil? end end end
Version data entries
38 entries across 38 versions & 1 rubygems