Does Kiln support web hooks for integration with continuous integration servers and other software like GitHub and BitBucket?
|
9
|
Yup! Kiln administrators can add web hooks as useful integration points between Kiln and any number of other services. Just choose the URL Kiln should hit and which repositories should fire the hook. Then, every time these repositories receive a push, information about the push and its changesets will be POST'ed to the URL. The data POST'ed is a JSON payload, and the data is accessible via the "payload" POST variable. So if you're in .NET land, you'd access the JSON payload like so:
...and
...which you can then parse and use however necessary in your continuous integration server or any piece of software that needs to know when Kiln receives a push. The Note that the timestamp for commits are in UTC. Please keep in mind that this data will be sent regardless of your Kiln repository's permissions settings. Here are some instructions for testing your web hook to make sure it's firing. |
|||||||||||||||||||
|