Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #15 from mixalturek/master
[JENKINS-11354] CppCheck plugin cannot find CppCheck report
  • Loading branch information
mixalturek committed May 1, 2014
2 parents 374c4bd + ea782dc commit 45459b5
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -53,9 +53,12 @@ public CppcheckReport parse(final File file) throws IOException {
com.thalesgroup.jenkinsci.plugins.cppcheck.model.Results results = (com.thalesgroup.jenkinsci.plugins.cppcheck.model.Results) unmarshaller.unmarshal(file);
report = getReportVersion1(results);
} catch (JAXBException jxe1) {
throw new IOException(jxe1);
}
// Since Java 1.6
// throw new IOException(jxe1);

// Legacy constructor for compatibility with Java 1.5
throw (IOException) new IOException(jxe1.toString()).initCause(jxe1);
}
}
return report;
}
Expand Down

0 comments on commit 45459b5

Please sign in to comment.