Web Hooks API with Codesion

A little known but powerful feature offered by Codesion is our Web Hooks, also known as Call back API or post-commit hooks. Web hooks allow developers to specify their own URL, which Codesion calls after each commit to your code repository. 

Here is an example of a URL you’d tell us to call after each commit.

http://mydomain.com/cgi-bin/webHookCodesion.cgi

Following your commit, Codesion passes all relevant information to the URL such as…

  • author (Mark Bathie)
  • date (2009-10-14 12:00:00)
  • youngest (345 – revision number)
  • commit log message (my dog ate my last commit)
  • organization (Codesion)
  • service (cvs | svn)

…this feature was introduced over 3 years ago, and recently we’ve had a lot of requests for it, so we figured we’d make a bit of ‘noise’ about it here.

web hooks api with codesion

Fig 1: Specifying the URL we POST to after you commit. Found under “Services” -> “Commits Hooks” in our UI.

Internally, Codesion developers find web hooks useful for automatically executing operations after commiting to their Codesion repository. Here are some examples of how one might use our Codesion’s Web Hooks:

  • Fire off a build from your trunk or branch automatically
  • Depending on your business logic and requirements, automatically update your internal systems.
  • Notify relevant parties automatically after each commit

Individual development teams will have specific requirements for the tasks they wish to perform after each commit depending on internal business logic. Codesion offers the power and flexibility through our Web Hooks API to automate your specific post-commit processes.

Check out our technical reference for the gory details.

Tagged with: , , , , ,
Posted in CloudForge

Leave a Reply

Your email address will not be published. Required fields are marked *

*

CAPTCHA Image

*

connect with CollabNet
   Contact Us
Subscribe

Have new blog posts sent directly to your email.

looking for something
conversations

CloudForge: Join #CollabNet for the TeamForge® 8.1 release webinar and learn about its new powerful enterprise #Git features http://t.co/IHfnkoEfGr
Date: 1 September 2015 | 5:00 pm

CloudForge: Join this #CollabNet #webinar and learn how to reduce server loads with #Git replication and improve Git performance http://t.co/pB1DEsWFPh
Date: 31 August 2015 | 6:00 pm

CloudForge: Seamlessly integrate #Git upstream and downstream to tools such as #Jira and #Jenkins on this #CollabNet #webinar http://t.co/pB1DEsWFPh
Date: 28 August 2015 | 5:30 pm