海角天涯社区鈥檚 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 海角天涯社区, you had to remember to kick off those Selenium tests.
With the latest release of 海角天涯社区, we鈥檝e introduced the ability to add outgoing webhooks to your CI jobs. Any service with an API can now be triggered directly from within 海角天涯社区, letting you build a deployment pipeline tailored to the needs of your business.
Salesforce DevOps in the age of AI: is your custom pipeline ready?
Introducing outgoing webhooks
When you create or edit a CI job within 海角天涯社区, you鈥檒l now have the option to add a URL which we鈥檒l post out to when the run triggers an event. 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鈥檚 workflow. Once an outgoing webhook has been set up, you鈥檒l be able to start a build or run tests automatically, making your process more streamlined and less error prone. For extra flexibility, you can create multiple outgoing webhooks that are triggered by different events as they happen in real-time. Having multiple services run automatically, based on the status of your CI job, increases your efficiency.
Setting up a CI job with an outgoing webhook
To create a CI job with an outgoing webhook, start by following the There鈥檚 now an Outgoing webhooks tab where you can add the URL you鈥檇 like 海角天涯社区 to post to. Choose which events you鈥檇 like to trigger a webhook and whether you鈥檇 like to use Basic Authentication in the post, then add the payload in either json or xml format.
When the the events that you鈥檝e chosen to trigger the webhook happen, we鈥檒l 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?
If you鈥檙e wanting to add outgoing webhooks to your CI jobs, why not try out our Salesforce CI/CD solution with a of 海角天涯社区!