From 6d536cd5c15fea9a3e1090f709d7a96757f63749 Mon Sep 17 00:00:00 2001 From: Josh Hagins Date: Mon, 12 Jan 2015 19:58:57 -0500 Subject: [PATCH] Add jenkins 1.596 --- Casks/jenkins.rb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Casks/jenkins.rb diff --git a/Casks/jenkins.rb b/Casks/jenkins.rb new file mode 100644 index 000000000000..05c71dc93b93 --- /dev/null +++ b/Casks/jenkins.rb @@ -0,0 +1,29 @@ +cask :v1 => 'jenkins' do + version '1.596' + sha256 'eb7be5bd1e350b71ec8fb66721c28abbe0912e7062bc4f93ce61750467dfde4e' + + url "http://mirrors.jenkins-ci.org/osx/jenkins-#{version}.pkg" + name 'Jenkins' + homepage 'http://jenkins-ci.org/' + license :cc + + pkg "jenkins-#{version}.pkg" + binary '/Library/Application Support/Jenkins/jenkins-runner.sh', :target => 'jenkins' + + uninstall :script => '/Library/Application Support/Jenkins/Uninstall.command', + :pkgutil => 'org.jenkins-ci.*pkg', + :launchctl => 'org.jenkins-ci' + + zap :delete => '/Library/Preferences/org.jenkins-ci.plist' + + conflicts_with :formula => %w{ + jenkins + homebrew/versions/jenkins-lts + }, + :cask => 'caskroom/versions/jenkins-lts' + + caveats <<-EOS.undent + #{token} requires Java. You can install the latest version with + brew cask install java + EOS +end