views:

84

answers:

1

Hello Everyone,

I am currently writing a Perl script that will convert CruiseControl config.xml files to a Hudson config.xml for each project. However I am stuck at one key part: How do I make it so the sub modules of a project also get the goals from there CC config?

I can do the root module fine, and set up the configurations fine as well. I just need a way to configure Hudson to add the sub modules, copy the goals from a file, import the goals, then run the build for the module. The way I am thinking right now is that I could either:

  1. Make a Perl script that runs before the build or
  2. Make a groovy script that integrates with Hudson and have it manually do these steps.

Side Note: If anyone is interested about using this script I would be willing to publish it once it is done.