提交 e6df9f55 编写于 作者: D Daniel Beck

Merge pull request #2215 from kzantow/JENKINS-33805-rename-updated-file

[FIX JENKINS-33805] rename install/upgrade files to be more clear & consistent
......@@ -211,15 +211,15 @@ public class InstallUtil {
}
static File getConfigFile() {
return new File(Jenkins.getActiveInstance().getRootDir(), "config.xml");
return new File(Jenkins.getInstance().getRootDir(), "config.xml");
}
static File getLastExecVersionFile() {
return new File(Jenkins.getActiveInstance().getRootDir(), ".last_exec_version");
return new File(Jenkins.getInstance().getRootDir(), "jenkins.install.InstallUtil.lastExecVersion");
}
static File getInstallingPluginsFile() {
return new File(Jenkins.getActiveInstance().getRootDir(), ".installing_plugins");
return new File(Jenkins.getInstance().getRootDir(), "jenkins.install.InstallUtil.installingPlugins");
}
private static String getCurrentExecVersion() {
......
......@@ -47,7 +47,7 @@ public class UpgradeWizard extends PageDecorator {
* This file records the vesrion number that the installation has upgraded to.
*/
/*package*/ File getStateFile() {
return new File(Jenkins.getInstance().getRootDir(),"upgraded");
return new File(Jenkins.getInstance().getRootDir(),"jenkins.install.UpgradeWizard.state");
}
public UpgradeWizard() throws IOException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册