Skip to content
Browse files
o JENKINS-10994: finish env var expansion
git-svn-id: 71c3de6d-444a-0410-be80-ed276b4c234a
  • Loading branch information
msteinkogler committed Nov 22, 2011
1 parent 51a24a1 commit 86d899fad561a3d6dc4f7149e0f5c059e78bbc03
@@ -112,7 +112,7 @@ public String getExpandedBackupPath() {
try {
expandedPath = Utils.expandEnvironmentVariables(backupPath);
} catch (final EnvironmentVariableNotDefinedException evnde) {
LOGGER.log(Level.SEVERE, "Error while expanding path. Using unexpanded path.", evnde);
LOGGER.log(Level.SEVERE, evnde.getMessage() + " Using unexpanded path.");
expandedPath = backupPath;

@@ -397,7 +397,6 @@ protected static String internalExpandEnvironmentVariables(final String path,
"Environment variable '%s' was specified in path '%s', but it is not defined in the system's environment variables.",
envVar, path);
throw new EnvironmentVariableNotDefinedException(message);
newPath.append(tmpPath.substring(0, startIdx));

0 comments on commit 86d899f

Please sign in to comment.