Skip to content

Commit

Permalink
[CI] Include maven ERROR messages in mandrel-integration-tests logs
Browse files Browse the repository at this point in the history
Make github comments a bit more verbose by including the maven ERROR
lines in the filtered logs.
  • Loading branch information
zakkak committed Dec 11, 2023
1 parent 623fc9d commit 9cd585d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/quarkus-ecosystem-issue.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,13 @@ public void run() {
}
}
} else if (job.getName().contains("Q Mandrel IT")) {
String fullContent = getJobsLogs(job, "mandrel-it-issue-number", "FAILURE [", "Z Error:");
String fullContent = getJobsLogs(job, "mandrel-it-issue-number",
"FAILURE [",
"Z Error:",
" Time elapsed: ",
"Z [ERROR] ",
"Z [ERROR] Failures",
"Z [ERROR] Tests run:");
if (!fullContent.isEmpty()) {
// Get the issue number for mandrel-integration-tests issues
Matcher mandrelIssueNumberMatcher = Pattern.compile(" mandrel-it-issue-number: (\\d+)").matcher(fullContent);
Expand Down

0 comments on commit 9cd585d

Please sign in to comment.