Outgoing Webhooks

Outgoing Webhooks can be used to trigger actions in other applications based on specific events that occur within FlexDeploy. Traditional webhooks simply POST a json payload to a specified endpoint. While this functionality is a big use case, FlexDeploy offers the ability to execute any groovy script when the event occurs, called Listeners. For example, you can setup a Listener to upload failed plugin logs from a workflow execution to a separate server in addition to sending an email. The flexibility of groovy script and FlexDeploy’s model allows users to accomplish exactly what they need.

Checkout this Getting Started guide after you read this page.

Outgoing Webhook Flow

In order to take advantage of FlexDeploy’s Outgoing Webhooks, you must first create a Listener. When creating this listener, you can specify on which event types the script will be executed. Once one of these events are executed, FlexDeploy will automatically notify any listeners corresponding with the event type.

Outgoing Webhooks can be accessed from Administration → Outgoing Webhooks. This will show the https://flexagon.atlassian.net/wiki/spaces/FD70/pages/10340172311 that have been executed in FlexDeploy in the last week. You can click on any row to see more information about the webhook’s execution or resubmit the message for debugging.

To configure Outgoing Webhooks, we can press the button in the top right. This will take us to the page that will show all the https://flexagon.atlassian.net/wiki/spaces/FD70/pages/10340172303 configured in FlexDeploy. You can create a new Webhook Listener by clicking the button on the page.

Event Types

See https://flexagon.atlassian.net/wiki/spaces/FD70/pages/10340172321 page for list of events.

See more details about each webhook topic below:

 

The following macros are not currently supported in the footer:
  • style