Does Launchpad have any kind of webhooks ?

Asked by Adnane Belmadiaf

I want to know if Launchpad have any kind of webhooks that will trigger CI builds via a URL when someone pushes a new commit

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Curtis Hovey
Solved:
Last query:
Last reply:
Revision history for this message
Best Curtis Hovey (sinzui) said :
#1

launchpad has an API that will permit a script to poll for new revisions to branch and then take action. See
    https://launchpad.net/+apidoc/devel.html#branch

The https://launchpad.net/tarmac project is an example of a tool that polls Lp to do a merge and can run tests when a branch is approved to be merged.

Revision history for this message
Adnane Belmadiaf (daker) said :
#2

Thanks Curtis Hovey, that solved my question.

Revision history for this message
Krzysztof Hasiński (krzysztof-hasinski) said :
#3

Is it possible to reconsider having webhooks in Launchpad? CI systems and other integrations (Sonar? CodeClimate? GetBadges? Slack?) might use them and they are much more useful than polling endpoints.

Revision history for this message
Colin Watson (cjwatson) said :
#4

We may work on this after we've finished deploying the first cut at Git support, but we haven't yet fleshed out any of the details.