aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jenkins.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/jenkins.rb b/Library/Formula/jenkins.rb
index 69ab0d629..bc99f72a5 100644
--- a/Library/Formula/jenkins.rb
+++ b/Library/Formula/jenkins.rb
@@ -9,7 +9,11 @@ class Jenkins < Formula
head 'https://github.com/jenkinsci/jenkins.git'
def install
- system "mvn clean install -pl war -am -DskipTests && mv war/target/jenkins.war ." if ARGV.build_head?
+ if ARGV.build_head?
+ system "mvn clean install -pl war -am -DskipTests"
+ mv 'war/target/jenkins.war', '.'
+ end
+
libexec.install "jenkins.war"
plist_path.write startup_plist
plist_path.chmod 0644