Hi! We tried a different method than the Configuration Slicer, since that wasn't available at the time. It works pretty well when there are only small differences between the created jobs.
We have Template jobs (disabled) that contain "variables" or "markers" for the things that vary between different jobs. We also have a few Create jobs that take one (or more) Template jobs and basically does search-and-replace on them using the parameters supplied when starting the Create job. The result is sent to the "$JCLI create-job" command and is then enabled with "$JCLI enable-job". This can be done in an hierarchy (or stages) to create a large "fan-out" of jobs. I.e. one job creates 10 jobs. Each such job creates 10 more, etc. Modification of these jobs after they've been created is not easy, but there are at least two ways it can be done. Either the jobs are simple enough that you can do straight search-and- replace on them, or you can repeat the original creation process using the new Create and Template jobs with same parameters used previously. In effect 'reapplying' the parameters on the templates. Hope this helps, /Adam On Tue, 20 Mar 2012 18:54:21 +0100, Tony P <[email protected]> wrote:
I have to say "Template" is not quite the right word but I can't currently think of a better one.. We have quite a few builds that are based on the same "template", they are all clones of a particular build I have called "Generic_Ivy_Module_Template". All these jobs are identical to the generic one aside from a handful of changes, such as the location of the source code and project name. All good so far. If I decide to make a change to the master "Template" and make this change effective for all its clones then I need to go into each and every clone and update them. Yes I know I can change the config.xml using a global search and replace - actually that is often what I do. However it would be really cool to have a better mechanism, ideally where there was some sort of master job and any changes to that we automatically used by the clones. Something like this may exist and I have missed it. Incidentally I have multiple "templates". Thanks
-- Office/Mobile: +46 1071 70391, Torshamnsgatan 36, 164 80 Kista, KI/EAB/FJW/DAI, KI 73 04 047A This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer
