[QA] How to make jenkins-bot write custom messages?

Tyler Cipriani tcipriani at wikimedia.org
Tue Jan 23 18:55:21 UTC 2018


On 18-01-22 14:52:55, Kunal Mehta wrote:
>Hi,
>
>Is it possible to have jenkins write custom messages besides the normal
>success/failure?

Looked at the source of zuul-reporter a bit today[0]. From the looks of 
it the only knobs to turn are the {failure,success,footer}-message 
parameters for a pipeline as defined in zuul/layout.yaml. The 
pipeline.footer-message[1] is appended to all jobs, but that doesn't 
look particularly dynamic[2][3].

-- Tyler

[0]. <https://github.com/wikimedia/integration-zuul/blob/patch-queue/debian/jessie-wikimedia/zuul/reporter/__init__.py>
[1]. <https://docs.openstack.org/infra/zuul/user/config.html#attr-pipeline.footer-message>
[2]. <https://github.com/wikimedia/integration-zuul/blob/patch-queue/debian/jessie-wikimedia/zuul/reporter/__init__.py#L79>
[3]. <https://github.com/wikimedia/integration-zuul/blob/patch-queue/debian/jessie-wikimedia/zuul/scheduler.py#L439>

>_______________________________________________
>QA mailing list
>QA at lists.wikimedia.org
>https://lists.wikimedia.org/mailman/listinfo/qa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.wikimedia.org/pipermail/qa/attachments/20180123/24738bbd/attachment.sig>


More information about the QA mailing list