Skip to main content
System StatusContact Support
VersionOne Community

Configure TeamForge Git Webhook

TeamForge supports webhooks to send TeamForge Git commits to Continuum.

Overview

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

  1. Log on to Continuum. 
  2. Select Workflow > Projects from the Administration menu ( ctm02.png ) at the top right. 
  3. Select a project from the Search or View Projects drop-down list. 
  4. Select the Source tab. 
  5. Select TeamForge Git Webhook from the Changes From drop-down list. 
  6. Copy the resulting Webhook endpoint by clicking the blue Copy-to-Clipboard button and paste it in a text editor. 

clipboard_ecc51ae4bf0eff235eb51cea98d23f0f4.png

  1. 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). 

Screen Shot 2017-07-12 at 12.13.52 PM.png

 

Screen Shot 2017-07-12 at 12.15.35 PM.png

For example, the full Webhook endpoint URL would be:

https://forge-ctm.collab.net/api/submit_change?toproject=git-help-en&token=595fc21dca77bc07c013eb3f

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. 

  1. Go to the Submissions tab and see if the commit shows up in Continuum. 

clipboard_ee4cb7eab8d4f7d95abb01baf1627d54f.png

  • Was this article helpful?