I just did this a couple of days ago. First off, get the Jenkins Dynamic Axis plugin (https://wiki.jenkins-ci.org/display/JENKINS/DynamicAxis+Plugin). Then, create a multi-configuration project and have it take a string parameter called SEEDS. Define a dynamic axis with an axis name of SEED and a variable name of SEEDS (note: you'll get a warning that the variable isn't verified).
The job will run once for each value you passed into SEEDS, and each individual sub-job will have SEED set to one of these values. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of jskull Sent: Wednesday, April 10, 2013 6:16 AM To: jenkinsci-users@googlegroups.com Subject: How to create a matrix build where the number of axis values is read from a parameter I am trying to use Jenkins to spawn a set of builds, each with a different random seed. I have created a user defined axis called SEED, but I would like to populate the values using a single parameter, which contains a list of the seeds to be used. The key is that I want to be able to modify the number of seeds used, so the number of values would not be fixed until the build is launched and the parameter filled in. I haven't found any way to do this, can anyone advise if it's possible? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.