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
job ("generated.job") { readFileFromWorkspace('your_csv_file.csv').eachLine { line -> line.split(',').each { value -> steps {
shell ("echo 'running my shell ${value}'") } } }}