Ticket #798 (closed support-request: worksforme)
buildbot email says success but warnings were generated
| Reported by: | chrb | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | undecided |
| Version: | 0.8.0 | Keywords: | |
| Cc: |
Description
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".
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
Do you have warnOnWarnings=True for the compile step?
(It isn't set by default, which is weird..)