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

              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