Convert CruiseControl to Hudson

I am currently writing a Perl script that converts CruiseControl config.xml files to Hudson config.xml for each project. However, I am stuck in one key part: how can I make the project submodules also receive targets from CC config?

I can make the root module in order, as well as configure fine-tuning. I just need to configure Hudson to add helper modules, copy targets from a file, import goals, and then run the build for the module. What I now think is that I could:

  • Create a Perl script that runs before building or
  • Create a groovy script that integrates with Hudson and manually follows these steps.

Side note. If anyone is interested in using this script, I would like to publish it after its completion.

+4
source share
1 answer

So, I believe that I understood my problem. Essentially, I’m going to make each module to clear, I will add a text file with which module which goals then add the goals section to the config.xml file. Then reload hudson from disk so that it can add goals then repeat the task with the correct goals for the auxiliary work. I did it through perl.

+1
source

All Articles