aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jenkins.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/jenkins.rb b/Library/Formula/jenkins.rb
index 01c3fda34..f8a4df46f 100644
--- a/Library/Formula/jenkins.rb
+++ b/Library/Formula/jenkins.rb
@@ -9,7 +9,7 @@ class Jenkins < Formula
head 'https://github.com/jenkinsci/jenkins.git'
def install
- if ARGV.build_head?
+ if build.head?
system "mvn clean install -pl war -am -DskipTests"
mv 'war/target/jenkins.war', '.'
end