Jenkins, the continuous integration server, provides a nice package to run it on Mac OS X. It installs as a launch daemon and runs smoothly. But when a new version of Jenkins is available, there is no automatic upgrade feature. So here is how to upgrade this kind of installtion:
- Download the latest war of Jenkins from the website
- Stop the Jenkins daemon: in a Terminal window, type
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
- Copy the downloaded "war" from your download directory to the "/Applications/Jenkins/" folder.
- Start the Jenkins daemon: in a Terminal window, type
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
Once Jenkins has restarted, you should have an up-to-date installation.
本文介绍如何在MacOSX上手动更新Jenkins至最新版本。包括停止Jenkins服务、替换旧文件以及重启服务等步骤。

被折叠的 条评论
为什么被折叠?



