Skip to content

Commit

Permalink
JENKINS-33805 - rename install/upgrade files to be more clear &
Browse files Browse the repository at this point in the history
consistent
  • Loading branch information
kzantow committed Apr 4, 2016
1 parent 10939b9 commit 04a34a3
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 @@ -183,15 +183,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(), "last_run_version");
}

static File getInstallingPluginsFile() {
return new File(Jenkins.getActiveInstance().getRootDir(), ".installing_plugins");
return new File(Jenkins.getInstance().getRootDir(), "setup_wizard_installing_plugins");
}

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(),"last_upgrade_version");
}

public UpgradeWizard() throws IOException {
Expand Down

0 comments on commit 04a34a3

Please sign in to comment.