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}'")
}
}
}
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