Skip to content

Commit

Permalink
Merge pull request #8860 from jawshooah/casks/jenkins
Browse files Browse the repository at this point in the history
Add jenkins 1.596
  • Loading branch information
vitorgalvao committed Jan 13, 2015
2 parents 95d1e45 + 6d536cd commit 533345a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Casks/jenkins.rb
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

0 comments on commit 533345a

Please sign in to comment.