brew install --ignore-dependencies jenkins-lts
(The reson I use--ignore-dependencies
is because I do not want JDK brought by brew, because I manage JDKs with SDKMAN. brew says--ignore-dependencies
is deprecated, but it still does it's job)- adjust location of java binary at
ProgramArguments
section inhomebrew.mxcl.jenkins-lts.plist
located at:/usr/local/opt/jenkins-lts/homebrew.mxcl.jenkins-lts.plist
for Intel-based Macs/opt/homebrew/opt/jenkins-lts/homebrew.mxcl.jenkins-lts.plist
for Apple Silicon
brew services start jenkins-lts
open http://localhost:8080/
- look up the initial password at
~/.jenkins/secrets/initialAdminPassword
Optionally: run JVM with -Dhudson.plugins.git.GitSCM.ALLOW_LOCAL_CHECKOUT=true
, if you simply work locally and clone using file://
protocol