aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-03 14:07:27 -0700
committerAdam Vandenberg2012-09-03 14:07:27 -0700
commita2c006b168a76d268dbeec5fac0566894503c4b8 (patch)
tree217a17b2034fd30d86b5cf266691cf5630e8d487
parent6afe862d9cb5c7dce466add3c4f931df24f2d907 (diff)
downloadhomebrew-a2c006b168a76d268dbeec5fac0566894503c4b8.tar.bz2
jenkins: use new dsl
-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