从战争文件更新詹金斯 [英] Update Jenkins from a war file
问题描述
我有一台装有Ubuntu 12.04的计算机,并安装了Jenkins ver. 1.424.6使用基于
I have a machine with Ubuntu 12.04 and have installed Jenkins ver. 1.424.6 using apt-get based on this guide, but there is a new version:
New version of Jenkins (1.447.2) is available for download (changelog).
如果按下载,我会得到一个jenkins.war文件...但是如何使用它来升级当前安装?还是在apt存储库更新之前不可能?
If I press download, I get a jenkins.war file... but how do I use that for upgrading my current installation? or is that not possible before the apt repositories gets updated?
推荐答案
您可以使用新文件覆盖现有的jenkins.war
文件,然后重新启动Jenkins.
You can overwrite the existing jenkins.war
file with the new one and then restart Jenkins.
此文件通常位于/usr/share/jenkins
中.
如果您的系统不是这种情况,请在Manage Jenkins -> System Information
中的executable-war
下显示.war
文件的路径.
If this is not the case for your system, in Manage Jenkins -> System Information
, it will display the path to the .war
file under executable-war
.
这篇关于从战争文件更新詹金斯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!