Skip to content
Permalink
Browse files
Merge pull request #63 from jenkinsci/jenkins-34719
[FIXED JENKINS-34719] Pick up and logs that have been refactored into JENKINS_HOME/logs
  • Loading branch information
stephenc committed May 11, 2016
2 parents 0df6d15 + 97d0103 commit 7d4a2c979172f4ed61165630fc785d79039e23af
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/main/java/com/cloudbees/jenkins/support/impl/JenkinsLogs.java
@@ -392,6 +392,15 @@ private void addOtherMasterLogs(Container result) {
result.add(new FileContent("other-logs/" + f.getName(), f));
}
}
File logs = new File(jenkins.getRootDir(), "logs");
if (logs.isDirectory()) {
files = logs.listFiles(ROTATED_LOGFILE_FILTER);
if (files != null) {
for (File f : files) {
result.add(new FileContent("other-logs/" + f.getName(), f));
}
}
}
}

/**

0 comments on commit 7d4a2c9

Please sign in to comment.