Mac 安装jenkins
brew services start jenkins
Mac 安装jenkins
Jenkins can be installed using the Homebrew package manager. Homebrew formula: jenkins-lts This is a package supported by a third party which may be not as frequently updated as packages supported by the Jenkins project directly.
Sample commands:
- Install the latest LTS version: brew install jenkins-lts
- Install a specific LTS version: brew install jenkins-lts@YOUR_VERSION
- Start the Jenkins service: brew services start jenkins-lts
- Restart the Jenkins service: brew services restart jenkins-lts
- Update the Jenkins version: brew upgrade jenkins-lts
After starting the Jenkins service, browse to http://localhost:8080 and follow the instructions to complete the installation. Also see the external materials for installation guidelines. For example, this blogpost describes the installation process.
Native Installer (deprecated)
Jenkins project used to provide a native installer for macOS. This installer is now deprecated, and it will not be shipped for future versions of Jenkins. It is possible to retrieve installer versions for older releases from the archive.
- Installers for previous Jenkins versions. https://get.jenkins.io/osx-stable/
- Learn how the macOS installer sets up your Jenkins, and how you can tweak it https://wiki.jenkins.io/display/JENKINS/Thanks+for+using+OSX+Installer
Jenkins配置
打开网址http://localhost:8080
输入密码
安装插件
创建管理员
后续步骤参考文档: