Web triggers

You can use web triggers to connect your UVCS server with an external system. The UVCS server executes HTTPS POST requests to a configured URL and sends a JSON payload that contains information about the UVCS operation. The request body is a JSON dictionary that contains the trigger variables. Additionally, the standard input data appears as an array under the INPUT dictionary key.

You can use the endpoint that receives the JSON payload to create extensions to your UVCS server. For example, you can use a web trigger to ensure that any changesets created have a valid comment, or to send deployment requests.

Note: You can build your own web server to process web trigger requests made from the UVCS server, which allows you to create complex triggers. Otherwise, you can use a software integration service such as zapier.com, which integrate with a variety of popular applications.

Web trigger notifications

You can use web triggers to send notifications about operations in your UVCS server. For example, you can set up the following:

  • A Slack integration to notify your team when there are new changesets in your main branch.
  • A Discord integration to notify your team when someone creates a new branch.
  • An SMS alert system for relevant operations.

Additional resources