This plugin integrates CMVC to Hudson.


At the moment, it supports:

This plugin utilizes CMVC's Report command to query the family for changes. In the default mode, first it looks for all integrated tracks - within the specified releases - between the last build time and the current time (-view TrackView). Then it performs another query to find all files included in these tracks (-view ChangeView). The former query can be easily customized by providing a custom where clause.

Changes and modifications details are detected by running commands similar to the following:

Report -family family<at:var at:name="localhost" />6666 -raw -view TrackView
-where lastUpdate between $lastBuild
and $now and state = 'integrated'
and releaseName in ('RC_123')
order by defectName

Report -family family<at:var at:name="localhost" />6666 -raw -view ChangeView
-where defectName in ('1','2')
and releaseName in ('RC_123')
order by defectName

These queries provide all the necessary information for generating a Hudson´s change log set.

We all know CMVC is considered an obsolete SCM. However we also know there are still some people using it out there. So, why not provide them with a nice way to integrate it with Hudson and make our lives less miserable (smile) .


System configuration

It has only one global configuration parameter: the cmvc executables directory path.

Usually this directory is already part of the PATH environment variable.

Job configuration

Jobs utilising CMVC have to define the folowing properties:


Fill in each of the settings:

Optionally, you can hit the Advanced... button and configure the TrackView Report where clause.


There are 3 available implicit variables that can be used in the custom where clause (prefixed by $):

  1. now - current time
  2. lastBuild - last build datetime
  3. releases - releases ( properly quoted to be used in "IN" statement )

Release Notes

Version 0.2 (09/06/2009)

Version 0.1 (30/05/2009)