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 URL’s support to Buddy. The option is available in the right column on the pipeline details view:

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:

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

Buddy is 100% customer driven. If there’s a feature or integration you miss, let us know in the comments below or directly at support@buddy.works.