From d5fbf804a74229f2adae5dea5eaa540c0eebe7e1 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 4 Sep 2011 10:37:05 -0700 Subject: jenkins: Update to 1.428 Also add a --HEAD option. Closes #7438. Signed-off-by: Charlie Sharpsteen --- Library/Formula/jenkins.rb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/jenkins.rb b/Library/Formula/jenkins.rb index 0918890a9..e9891de56 100644 --- a/Library/Formula/jenkins.rb +++ b/Library/Formula/jenkins.rb @@ -1,12 +1,14 @@ require 'formula' class Jenkins < Formula - url 'http://mirrors.jenkins-ci.org/war/1.427/jenkins.war', :using => :nounzip - version '1.427' - md5 '1d898294dc5f72b2b9c81ca423606f99' + url 'http://mirrors.jenkins-ci.org/war/1.428/jenkins.war', :using => :nounzip + head 'git://github.com/jenkinsci/jenkins.git' + version '1.428' + md5 '5817e09ccc3a2996addeb8f1bc1cb6c8' homepage 'http://jenkins-ci.org' def install + system "mvn clean install -pl war -am -DskipTests && mv war/target/jenkins.war ." if ARGV.build_head? lib.install "jenkins.war" (prefix+'org.jenkins-ci.plist').write startup_plist (prefix+'org.jenkins-ci.plist').chmod 0644 @@ -28,6 +30,11 @@ Or start it manually: EOS end + # There is a startup plist, as well as a runner, here and here: + # https://raw.github.com/jenkinsci/jenkins/master/osx/org.jenkins-ci.plist + # https://raw.github.com/jenkinsci/jenkins/master/osx/Library/Application%20Support/Jenkins/jenkins-runner.sh + # + # Perhaps they could be integrated. def startup_plist return <<-EOS @@ -48,5 +55,4 @@ EOS EOS end - end -- cgit v1.2.3