Hi, If you use JobDSL plugin then you might use something like the below snippet:
job ("generated.job") { readFileFromWorkspace('your_csv_file.csv').eachLine { line -> line.split(',').each { value -> steps { shell ("echo 'running my shell ${value}'") } } } } The above script will create a Jenkins Job, called generated.job, with a bunch of shell steps (each one based on a different value). Further details: - https://github.com/jenkinsci/job-dsl-plugin/wiki - https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin I hope it helps Cheers On Thursday, 24 September 2015 08:21:45 UTC+2, ok nj wrote: > > I'm trying to create a job that will run a certain flow multiple times, > each time with different parameters on multiple nodes in parallel. I have a > csv file, on which each line contains the requested parameters for a run. I > tried using multi configuration job, and I read about the dynamic axis, but > I don't quite understand how to use it with the data from my csv file. I > also saw build flow and workflow plugins, but again, I couldn't understand > how to use it with my csv file. > > I'd appreciate if anyone can give me ideas how to solve this. > > Thanks in advance, > > Sivan > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2614f05a-3a1d-4319-86c9-3a92a1ce7931%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.