安装最新版本
brew install jenkins
安装 LTS 版本
brew install jenkins-lts
启动,停止,重启jenkins
brew services start jenkins
brew services stop jenkins
brew services restart jenkins
brew services start jenkins-lts
brew services restart jenkins-lts
brew services stop jenkins-lts
- nohup jenkins &
- nohup java -jar jenkins.war --httpPort=8080 &
- nohup java -jar jenkins.war -httpsPort=8080 &
- java -jar jenkins.wa