
| Key: |
QB-1891
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Peter Daugavietis
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 20/Dec/13 02:31 AM
Updated: 21/Dec/13 02:42 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
5.1.3
|
| Fix Version/s: |
5.1.5
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
When running maven builds, the actual maven output (including BUILD SUCCESSFUL) isn't visible in the QB log, but build appears to work.
|
|
Description
|
When running maven builds, the actual maven output (including BUILD SUCCESSFUL) isn't visible in the QB log, but build appears to work. |
Show » |
|
public void consume(String line)
{
if (line.startsWith("[ERROR] ")) {
Context.getLogger().error(line.substring("[ERROR] ".length()));
this.inErrorBlock = true;
} else if (line.equals("[INFO] BUILD FAILURE")) {
Context.getLogger().error(line.substring("[INFO] ".length()));
this.inErrorBlock = false;
} else if (line.startsWith("[INFO] ")) {
Context.getLogger().debug(line.substring("[INFO] ".length()));
this.inErrorBlock = false;
} else if (line.startsWith("[DEBUG] ")) {
Context.getLogger().debug(line.substring("[DEBUG] ".length()));
this.inErrorBlock = false;
} else if (line.startsWith("[WARNING] ")) {
Context.getLogger().warn(line.substring("[WARNING] ".length()));
this.inErrorBlock = false;
} else if (this.inErrorBlock) {
Context.getLogger().error(line);
} else {
Context.getLogger().debug(line);
}