在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