PR webhooks to trigger automation?

Dominik Ruf dominikruf at gmail.com
Wed Jul 19 18:50:09 UTC 2017


Long Vu <long.vu at intelerad.com> schrieb am Mi., 19. Juli 2017 um 19:39 Uhr:

> On Wed, Jul 19, 2017 at 12:40 PM, Dominik Ruf <dominikruf at gmail.com>
> wrote:
> > Long Vu <long.vu at intelerad.com> schrieb am Di., 18. Juli 2017 um 22:41
> Uhr:
> >>
> >> Hi,
> >>
> >> If we want to fire some automated tests upon PR creation/update is
> >> there some webhook for that?
> >>
> >> I did not find any documentation about webhooks for Kallithea.  Just
> >> wonder if there are really none or the documentation is simply lagging
> >> behind.
> >>
> >>
> >> I've found JSON-RPC API here
> >> http://kallithea.readthedocs.io/en/latest/api/api.html but they do not
> >> do what I need.
> >
> > What is it that you are looking for?
>
> Specifically some form of hooks/webhooks when a PR is created/updated.
>
> The usecase is we want to fire Jenkins job with the content of the PR
> to run automated test on it and report back to the PR that is has
> passed or failed the test suite.
>
I think I mentioned this before.
I'm developing a jenkins plugin that is (tries to be) the equivalent
of GitHub Branch Source Plugin and Bitbucket Branch Source Plugin for
Kallithea.
You can see it in action here
https://jenkins.dominikruf.com/job/kallithea-mb-pipeline/
and here
https://jenkins.dominikruf.com/job/domruf/

You can be a alpha tester if you'd like :-)
You can download it here
https://jenkins.dominikruf.com/job/kallithea-branch-source-plugin/lastSuccessfulBuild/artifact/target/kallithea-branch-source.hpi


>
> Basically more or less replicating the integration between AppVeyor
> with Bitbucket for Kallithea itself.
>
> We will also need some kind of JSON-RPC API to report back to the PR.
>
> But for a start, a hook/webhook that fire upon PR creation/update is
> needed.
>
>
> --
> Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743
> <+1%20514-931-6222>
>
> --
>
> This email or any attachments may contain confidential or legally
> privileged information intended for the sole use of the addressees. Any
> use, redistribution, disclosure, or reproduction of this information,
> except as intended, is prohibited. If you received this email in error,
> please notify the sender and remove all copies of the message, including
> any attachments.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20170719/13f93a33/attachment.html>


More information about the kallithea-general mailing list