[PATCH] Return the chroot that finished when sending build.end

Pierre-Yves Chibon pingou at pingoured.fr
Fri Jul 11 12:35:42 UTC 2014


On Fri, Jul 11, 2014 at 01:54:47PM +0200, Pierre-Yves Chibon wrote:
> ---
>  backend/backend/dispatcher.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/backend/backend/dispatcher.py b/backend/backend/dispatcher.py
> index 9ee0321..94d8b8d 100644
> --- a/backend/backend/dispatcher.py
> +++ b/backend/backend/dispatcher.py
> @@ -547,7 +547,7 @@ class Worker(multiprocessing.Process):
>  
>                  content = dict(user=job.user_name, copr=job.copr_name,
>                                 build=job.build_id, ip=ip, pid=self.pid,
> -                               status=job.status)
> +                               status=job.status, chroot=job.chroot)
>                  self.event("build.end", template, content)

I didn't test it but the idea was to allow fedmsg to broadcast which chroot
failed or succeeded to build.

Pierre


More information about the copr-devel mailing list