Ticket #798 (closed support-request: worksforme)
buildbot email says success but warnings were generated
|Reported by:||chrb||Owned by:|
I have a build that generates compile warnings. The emails that buildbot sends out should mention this. Instead the emails say "Build succeeded!".
The relevant bit of code from buildbot/status/mail.py is:
if result == 'success': text += "Build succeeded! " elif result == 'warnings': text += "Build Had Warnings%s " % t else: text += "BUILD FAILED%s " % t
The web interface clearly shows that the final Compile step had warnings, so there is something going wrong somewhere that causes the return status to have the value "success" instead of "warnings".