Skip to content
Permalink
Browse files

[JENKINS-13599] Added more logging to help debug problems dealing wit…

…h the plugin not finding the doxygen html directory
  • Loading branch information
Albert So
Albert So committed Apr 26, 2012
1 parent ea6de1e commit 1e5d55542d9fbabe3ddfc1e5b3d5de4ce87f92ce
Showing with 7 additions and 3 deletions.
  1. +7 −3 src/main/java/hudson/plugins/doxygen/DoxygenDirectoryParser.java
@@ -147,16 +147,20 @@ public Boolean invoke(File f, VirtualChannel channel) throws IOException, Interr

final String finalComputedDoxygenDir = doxyGenDir.replace('\\', '/');
Boolean absolute = isDirectoryAbsolute(base, finalComputedDoxygenDir);

LOGGER.info("Directory is absolute:"+absolute);

FilePath result;
if (absolute) {
result = new FilePath(base.getChannel(), finalComputedDoxygenDir);
LOGGER.info("Creating FilePath using base.getChannel()");
result = new FilePath(base.getChannel(), finalComputedDoxygenDir);
} else {
LOGGER.info("Creating FilePath using base");
result = new FilePath(base, doxyGenDir);
}


LOGGER.info("Created filepath with the following path:"+result.getRemote());
if (!result.exists()) {
LOGGER.info("Computed doxygen generated dir does not exist. Returning null");
return null;
}

0 comments on commit 1e5d555

Please sign in to comment.
You can’t perform that action at this time.