在Mac OS X上升級Jenkins的方法如下:
1) stop the running instance of jenkins
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
2) copy the latest version of the jenkins.war to the applications directory
sudo cp 源路徑 目標路徑
3) Restart jenkins
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist