Skip to content

Commit

Permalink
Merge pull request #2215 from kzantow/JENKINS-33805-rename-updated-file
Browse files Browse the repository at this point in the history
[FIX JENKINS-33805] rename install/upgrade files to be more clear & consistent
  • Loading branch information
daniel-beck committed Apr 5, 2016
2 parents a9cc840 + 9c25e1a commit e6df9f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/jenkins/install/InstallUtil.java
Expand Up @@ -211,15 +211,15 @@ static void saveLastExecVersion(@Nonnull String version) {
}

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() {
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/jenkins/install/UpgradeWizard.java
Expand Up @@ -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 {
Expand Down

0 comments on commit e6df9f5

Please sign in to comment.