homebrew-cask/Casks/jenkins.rb

30 lines
974 B
Ruby
Raw Normal View History

2015-01-13 08:58:57 +08:00
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