Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-1010

Error summarry should parse logs in Maven 2 builds

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      The current Error Summary for build is whatever is piped to the the standard error log. While this works quite well with Ant, where things like compilation errors are logged to the error stream, most Maven 2 errors are logged to standard out, rendering it pretty useless.

      For Maven 2 builds, we should ignore the standard error and parse std out for the errors instead.

      An example of this problem is at http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-204

      The error summary doesn't really give any useful info. It's only when you check out the "Logs" tab and scroll to the bottom, you can see that it's actually a compilation error. This is what we'd want in the Error Summary

      07-Mar-2007 19:40:59 [INFO] Compilation failure
      07-Mar-2007 19:40:59
      07-Mar-2007 19:40:59 /home/ ​j2ee/​xml-data/​build-dir/​STRUTS-MAIN/​plugins/​tiles/​src/​main/​ java/​org/​apache/​struts2/​views/​tiles/​TilesResult.java:[104,17] cannot find symbol
      07-Mar-2007 19:40:59 symbol : method render(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
      07-Mar-2007 19:40:59 location: interface org.apache.tiles.TilesContainer
      07-Mar-2007 19:40:59
      07-Mar-2007 19:40:59 /home/ ​j2ee/​xml-data/​build-dir/​STRUTS-MAIN/​plugins/​tiles/​src/​main/​ java/​org/​apache/​struts2/​tiles/​ StrutsTilesContainerFactory.java:[85,4] org.apache.struts2.tiles.StrutsTilesContainerFactory.StrutsTilesContextFactory is not abstract and does not override abstract method createRequestContext(org.apache.tiles.TilesApplicationContext,java.lang.Object,java.lang.Object) in org.apache.tiles.context.TilesContextFactory
      07-Mar-2007 19:40:59
      07-Mar-2007 19:40:59 /home/ ​j2ee/​xml-data/​build-dir/​STRUTS-MAIN/​plugins/​tiles/​src/​main/​ java/​org/​apache/​struts2/​tiles/​ StrutsTilesContainerFactory.java:[102,49] cannot find symbol
      07-Mar-2007 19:40:59 symbol : method createRequestContext(org.apache.tiles.TilesApplicationContext,java.lang.Object[])
      07-Mar-2007 19:40:59 location: interface org.apache.tiles.context.TilesContextFactory

            [BAM-1010] Error summarry should parse logs in Maven 2 builds

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3017806 ] New: JAC Suggestion Workflow 3 [ 3603007 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2699075 ] New: JAC Suggestion Workflow [ 3017806 ]
            Owen made changes -
            Assignee Original: MarkC [ mark@atlassian.com ]
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1409384 ] New: Confluence Workflow - Public Facing v4 [ 2699075 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 615874 ] New: Bamboo Workflow 2016 v1 [ 1409384 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 601448 ] New: Bamboo Workflow 2014 v2 [ 615874 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 203033 ] New: Bamboo Workflow 2014 [ 601448 ]
            MarkC made changes -
            Workflow Original: reviewflow [ 196993 ] New: Bamboo Workflow 2010 [ 203033 ]
            MarkC made changes -
            Workflow Original: Feature Request Workflow [ 168770 ] New: reviewflow [ 196993 ]
            Brian Lane made changes -
            Workflow Original: reviewflow [ 165438 ] New: Feature Request Workflow [ 168770 ]

              Unassigned Unassigned
              mark@atlassian.com MarkC
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 6h
                  6h
                  Remaining:
                  Remaining Estimate - 6h
                  6h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified