Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/java/org/keycloak/dashboard/ci/LogFailedParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,10 @@ public void parse(String runId, boolean pr) throws IOException, ParseException {
}
}

// Log file may be absent when the download failed and was cleaned up
boolean logExists = logFile.exists();
for (FailedJob job : jobs) {
if (job.getConclusion() == JobConclusion.FAILURE) {
if (job.getConclusion() == JobConclusion.FAILURE && logExists) {
if (job.getFailedRun().getWorkflow().equals("js-ci.yml")) {
failedRun.add(parseJsTest(job, logFile));
} else if (job.getName().equals("Store Model Tests")) {
Expand Down
Loading