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.580.3'
|
|
sha256 'a7d3d3e062da103bd7c1d11c31c3b1805751859bca82df8d2fe0996e036b79d3'
|
|
|
|
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
|
|
|