aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/diagnostic.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index cc364eaaa..8516f2b63 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -837,7 +837,8 @@ module Homebrew
def check_for_large_cache
return unless HOMEBREW_CACHE.exist?
- return if ENV["CI"] # CI can be expected to have a large cache.
+ # CI can be expected to have a large cache.
+ return if ENV["CI"] || ENV["JENKINS_HOME"]
cache_size = HOMEBREW_CACHE.disk_usage
return unless cache_size > 2_147_483_648
<<~EOS