fedmsg - success/failure
Pierre-Yves Chibon
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:
https://apps.fedoraproject.org/notifications/
Or if you speak about the status (success/failure) returned that is:
https://github.com/fedora-infra/fedmsg_meta_fedora_infrastructure/commit/47e4e4e0b24a74de7b08d9724ac3eca5968924af
from yesterday.
> 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 :)
Pierre
More information about the copr-devel
mailing list