To display an Error Summary for erroneous builds in bamboo build summary is not available for the Script Builder - going through the build logs seems tedious.
There is a section named "Error summary" which collects all errors during the build process that are printed to stderr. For example a build script
would print this message into the build summary section. It is up to you to insert the appropriate messages into your build script.
The actual problem is devenv.com/msbuild
not being very helpful: both build tools only append to stdout stream,
even in the case of warnings/errors during the build.
I solved the issue by writing a simple Ruby script that invokes the build tool and filters the stdout stream for any
warnings and errors via regexp; the matching warning/error lines are
then echoed to stderr and Bamboo picks them up nicely.