fedmsg - success/failure

Ralph Bean rbean at redhat.com
Wed Jul 9 13:13:01 UTC 2014


On Wed, Jul 09, 2014 at 01:27:27PM +0200, Miro HronĨok wrote:
> Hi,
> 
> is there a technical reason, why copr only sends "finished" to fedmsg
> and not the information about success/failure?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/copr-devel/attachments/20140709/32fa3594/attachment.sig>


More information about the copr-devel mailing list