I am using a Jenkins pipeline to process files for a UAT. Stages are like:
- Get the files
- Put them in the right directory
- Run bash script
- Run another bash script
- Run another bash script
- Send results
I would like to be able to run 1 or more times this pipeline based on the number of EODs I want to run.
So if EODs are:
20180720, 20180721, 20180722
I want the pipeline to run 3 times.
So;
for eod in '20180720, 20180721, 20180722'
run pipeline $eod
done
I know you can launch it with the url and parameters like John mentions below, and I am looking for a more simple solution, if there is any.
How can I do this?