Skip to main content
Enterprise Agile Planning icon with arrows

This post is from the CollabNet VersionOne blog and has not been updated since the original publish date.

Last Updated Oct 25, 2010 — Enterprise Agile Planning expert

Pre-Commit Web Hooks Now Available

Enterprise Agile Planning

Many customers have expressed their requirement to perform certain actions prior to developers checking-in their code.  For example:

  • Validate certain commit messages, such as a Trac or other ticket system ID
  • Validate that the files added follow a specific file naming convention

Based on these validations, we can setup rules to accept or reject these commits. We’ve now made this possible for all customers with pre-commit web hooks. Here’s how it works:

1) Log into your Codesion account and choose the “Services” tab, then “Subversion – Commit Hooks

2) Select “Pre-Commit Web Hook” and enter your script URL, for example: https://yourserver.com/pre_commit_hook

  • this is the HTTP(s) URL that you want to send the commit information to

3) Select the Timeout between 5 seconds and 5 minutes

  • this determines how long we wait for a response from your HTTP script

4) Select the Default Action to deny or allow the commit

  • if we did not get a response from your script, in other words, it timed out, then the default action determines whether to deny or allow commit

5) Once a user performs a commit to the SVN repository, Codesion will send the commit information to your URL

6) The commit will either be denied or allowed based on your custom pre-commit script

More from the Blog

View more
Digital.ai Government Cloud
Apr 12, 2022

Digital.ai Government Cloud receives FedRAMP Authorization through sponsorship from the United States Department of Veterans Affairs

Enterprise Agile Planning
Flagship Digital.ai Agility solutions can effectively scale agile deve ...
Read More
Nov 22, 2021

What are the qualities of highly effective agile teams?

Enterprise Agile Planning
A team is the core unit of productivity in an agile organization. Wher ...
Read More
Nov 15, 2021

How an open-first attitude revolutionized government tech development

Enterprise Agile Planning
Public perception of government is often that it is slow-moving, reluc ...
Read More
cross functional
Nov 08, 2021

6 best practices for building resilient cross-functional teams

Enterprise Agile Planning
Agile frameworks prize the quality of resilience within every facet of ...
Read More
Contact Us