You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

cask :v1 => 'jenkins-lts' do
version '1.609.1'
sha256 '07e98d4e997b66db72220818dc4af55e081ab4ebd59c8232dbee809667f2e8f4'
url "http://mirrors.jenkins-ci.org/osx-stable/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-runner'
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 => 'jenkins'
caveats <<-EOS.undent
#{token} requires Java. You can install the latest version with
brew cask install java
You can change the launch parameters for #{token} using "defaults",
as described in
https://wiki.jenkins-ci.org/display/JENKINS/Thanks+for+using+OSX+Installer
Alternatively, you can directly run #{token} with custom parameters, eg
java -jar /Applications/Jenkins/jenkins.war -XX:PermSize=$MIN_PERM_GEN --httpPort=$HTTP_PORT
For more options, see
https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins
EOS
end