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 'jenkins-lts' do
|
|
version '1.625.3'
|
|
sha256 '2ccb607dc9007a974cf4794e8ee4c6dc2e057d17b427379ed2c076cb9ac58c18'
|
|
|
|
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
|
|
|