Contact sales: +1 (833) 441 7687

Add outgoing webhooks to a CI job and Gearset will automatically post to any third party app

Ellis Toms on May 16th 2018

Gearset's built-in continuous integration (CI) is already a powerful tool, allowing you to automate large parts of your release management process. But what if you need to trigger third-party services as part of your release process, to run Selenium tests for example? Until now, this had been a manual process; when the CI job finished in Gearset, you had to remember to kick off those Selenium tests.

With the latest release of Gearset, we've introduced the ability to add outgoing webhooks to your CI jobs. Any service with an API can now be triggered directly from within Gearset, letting you build a deployment pipeline tailored to the needs of your business.

Introducing outgoing webhooks

When you create or edit a CI job within Gearset, you’ll now have the option to add a URL which we’ll post out to after every successful run. That URL could be the API of a third party app or your own in-house system, giving you flexibility over how to integrate CI into your team’s workflow. Once set up you’ll be able to start a build or run tests automatically, without the need for manual steps, making your process more streamlined and less error prone.

Setting up a CI job with an outgoing webhook

To create a CI job with an outgoing webhook, start by following the usual set up process. There’s now an Outgoing webhooks tab where you can add the URL you’d like Gearset to post to. Choose whether you’d like to use Basic Authentication in the post, then add the payload in either json or xml format.

Navigate to the Outgoing webhooks tab when creating a CI job to add your URL.

After a successful run of a job, we’ll post your payload to the URL you provided, side-stepping the error-prone steps involved with manually kicking off builds and running tests, for smoother and more streamlined continuous delivery.

Keen to try it out? Get in touch!

We're going to be rolling this out slowly across our users to help us get as much feedback as possible and continue developing this feature. If you'd like to try it out and help shape the future of outgoing webhooks in Gearset - get in touch via the in-app chat or send us an email at [email protected].

Ready to get started with Gearset?

Start free trial