fedmsg - success/failure
pingou at pingoured.fr
Fri Jul 11 09:53:04 UTC 2014
On Fri, Jul 11, 2014 at 11:22:05AM +0200, Miro Hrončok wrote:
> Dne 9.7.2014 15:13, Ralph Bean napsal(a):
> > There is a "status" field in the body of the message. See here:
> > http://fedora-fedmsg.readthedocs.org/en/latest/topics.html#copr-build-end
> > From looking through the copr dispatcher code, it looks like the
> > values correspond to something like this:
> > 0 - failed
> > 1 - success
> > 3 - running
> > 5 - skipped
> > https://git.fedorahosted.org/cgit/copr.git/tree/backend/backend/dispatcher.py
> Just got an e-mail form Notifications app:
> churchyard's python3-nightly copr build finished with 'success'
> Who did that?
I guess that would be FMN:
Or if you speak about the status (success/failure) returned that is:
> Would it be possible to distinguish it in Notifications rules?
> I.e. only send e-mail when there is a failure?
I'll let Ralph answer that one :)
More information about the copr-devel