diagnostic: also don't check Jenkins core branch.

This commit is contained in:
Mike McQuaid 2017-08-26 14:50:55 +01:00
parent cb5b14307c
commit db41f9d118

View File

@ -786,7 +786,7 @@ module Homebrew
EOS
end
return if ENV["CI"]
return if ENV["CI"] || ENV["JENKINS_HOME"]
head = coretap_path.git_head
return if head.nil? || head =~ %r{refs/heads/master}