CollabNet TeamForge has the ability to send a JSON payload to a webservice endpoint upon a developer commit push. This tutorial describes how to set this up to send this payload to Continuum.
This article assumes that you have already created your Continuum project and that you have a TeamForge instance set up with a Git repository to which commits are pushed.
Setting Up the Continuum Project
- Log on to Continuum.
- Select Workflow > Projects from the Administration menu ( ) at the top right.
- Select a project from the Search or View Projects drop-down list.
- Select the Source tab.
- Select TeamForge Git Webhook from the Changes From drop-down list.
- Copy the resulting Webhook endpoint by clicking the blue Copy-to-Clipboard button and paste it in a text editor.
- Go to the My Account Details page and copy the API token. Paste this API token in the Webhook endpoint URL in the text editor (replace <api-token> part with the API token you just copied).
For example, the full Webhook endpoint URL would be:
Keep this Webhook endpoint URL handy for later use.
Setting Up the TeamForge Git Webhook
See Set up Webhooks for Repositories and configure the Webhook endpoint URL for the TeamForge Git repository.
Test the Webhook Configuration
Push a commit to the TeamForge Git repository and verify that the commit is being pushed into Continuum as Submissions.
- Go to the Submissions tab and see if the commit shows up in Continuum.