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.
39 lines
1.4 KiB
39 lines
1.4 KiB
cask :v1 => 'jenkins-lts' do
|
|
version '1.609.2'
|
|
sha256 'fabfc5f3248e2295a729cb92763ae154cbe4158d6153c9530af9fc11f16c68d8'
|
|
|
|
url "http://mirrors.jenkins-ci.org/osx-stable/jenkins-#{version}.pkg"
|
|
name 'Jenkins'
|
|
homepage 'https://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
|
|
|