I am working on to migrate inhouse written java based build tools to Jenkins. The inhouse build tools has more than 1000 jobs for various products and their respective release and each job has 10+ steps and each step has some lines of code to executed. This inhouse build tool is written in Java.
inhouse build tools doing nothing but reading following files and creating a dynamic jsp view and load the build history from db and display it.
- Step.prop - which has all the step and respective commands e.g
pdplanner : clean : YES : YES : runant -Dproperties_file=build/dallas78.build.properties -f buildjars.xml clean_all
pdplanner : version : YES : NO : runant -Dproperties_file=build/dallas78.build.properties version
- Clearcase config spec files .cs for each job
If we start setting up each jobs in jenkins for all 1000 jobs, it will take a more than a year to get the successful build for all. I am thinking to do some automation whereas the dynamically Jenkins config.xml can be created by reading all these properties n spec files for each project.
One more specification from product mgmt team is that - we should be having each step as a checkbox in jenkins job so if someone does want to execute some of the steps, they can uncheck it accordingly.
I am puzzling my mind to do this task with different options but have not concluded...i did consider template plugins which might not suite my way. Can you please share your views/suggestion on this problem and share your ideas?