Skip to content

Commit

Permalink
[JENKINS-13599] Added more logging to help debug problems dealing wit…
Browse files Browse the repository at this point in the history
…h the plugin not finding the doxygen html directory
  • Loading branch information
Albert So committed Apr 26, 2012
1 parent ea6de1e commit 1e5d555
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main/java/hudson/plugins/doxygen/DoxygenDirectoryParser.java
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1e5d555

Please sign in to comment.