
November 8, 2018
New feature: Trigger pipelines with webhooks
After a short break, we're back with some freshly baked new features. The first in line is triggering pipeline executions from webhooks, a popular request among DevOps.
This is a sample request we received from one of our users (hi Chris!):
TakeShape will send a webhook to an external service whenever content changes, but I can't seem to find a way for Buddy to listen for and respond to these web hooks. I see "Webhooks to external services", but what I'm looking for is a similar "Webhooks FROM external services." Does this exist? Do I have to use the API to make this work?
Yes, until now the API was the only way to make it work. However, this method required sending a POST payload with specific parameters what should be run and when, which drastically reduced the scope of application.
With this week's release, we add webhook URLs support to Buddy. The option is available in the right column on the pipeline details view:
Entering Webhook settings
Simply click the link and copy the URL to your webhook. By default, every request will trigger an execution to the HEAD revision of the branch:
Setting up webhook trigger
If you wish, you can customize the web hook with a couple of parameters:
- Run to revision:
revision=HASH_ID
- Upload from scratch:
fromScratch=1
- Clear cache:
clearCache=1
- Comment:
comment=my%20comment
- Branch (for wildcard pipeline):
branch=dev
- Tag (for wildcard pipeline):
tag=mytag
- Custom ENV variables:
myenv=value
Share:

Alexander Kus
Customer Success Manager