diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jenkins.rb | 2 |
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 |
