<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Long Vu <<a href="mailto:long.vu@intelerad.com">long.vu@intelerad.com</a>> schrieb am Mi., 19. Juli 2017 um 19:39 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Jul 19, 2017 at 12:40 PM, Dominik Ruf <<a href="mailto:dominikruf@gmail.com" target="_blank">dominikruf@gmail.com</a>> wrote:<br>
> Long Vu <<a href="mailto:long.vu@intelerad.com" target="_blank">long.vu@intelerad.com</a>> schrieb am Di., 18. Juli 2017 um 22:41 Uhr:<br>
>><br>
>> Hi,<br>
>><br>
>> If we want to fire some automated tests upon PR creation/update is<br>
>> there some webhook for that?<br>
>><br>
>> I did not find any documentation about webhooks for Kallithea.  Just<br>
>> wonder if there are really none or the documentation is simply lagging<br>
>> behind.<br>
>><br>
>><br>
>> I've found JSON-RPC API here<br>
>> <a href="http://kallithea.readthedocs.io/en/latest/api/api.html" rel="noreferrer" target="_blank">http://kallithea.readthedocs.io/en/latest/api/api.html</a> but they do not<br>
>> do what I need.<br>
><br>
> What is it that you are looking for?<br>
<br>
Specifically some form of hooks/webhooks when a PR is created/updated.<br>
<br>
The usecase is we want to fire Jenkins job with the content of the PR<br>
to run automated test on it and report back to the PR that is has<br>
passed or failed the test suite.<br></blockquote><div>I think I mentioned this before.</div><div>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.</div><div>You can see it in action here</div><div><a href="https://jenkins.dominikruf.com/job/kallithea-mb-pipeline/">https://jenkins.dominikruf.com/job/kallithea-mb-pipeline/</a><br></div><div>and here</div><div><a href="https://jenkins.dominikruf.com/job/domruf/">https://jenkins.dominikruf.com/job/domruf/</a><br></div><div><br></div><div>You can be a alpha tester if you'd like :-)</div><div>You can download it here<br></div><div><a href="https://jenkins.dominikruf.com/job/kallithea-branch-source-plugin/lastSuccessfulBuild/artifact/target/kallithea-branch-source.hpi">https://jenkins.dominikruf.com/job/kallithea-branch-source-plugin/lastSuccessfulBuild/artifact/target/kallithea-branch-source.hpi</a> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Basically more or less replicating the integration between AppVeyor<br>
with Bitbucket for Kallithea itself.<br>
<br>
We will also need some kind of JSON-RPC API to report back to the PR.<br>
<br>
But for a start, a hook/webhook that fire upon PR creation/update is needed.<br>
<br>
<br>
--<br>
Long Vu | Build Controller | Intelerad | <a href="tel:+1%20514-931-6222" value="+15149316222" target="_blank">+1-514-931-6222 ext. 7743</a><br>
<br>
--<br>
<br>
This email or any attachments may contain confidential or legally<br>
privileged information intended for the sole use of the addressees. Any<br>
use, redistribution, disclosure, or reproduction of this information,<br>
except as intended, is prohibited. If you received this email in error,<br>
please notify the sender and remove all copies of the message, including<br>
any attachments.<br>
<br>
</blockquote></div></div>