-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8860 from jawshooah/casks/jenkins
Add jenkins 1.596
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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 |