I have a folder in a GitHub project which contains a bunch of groovy files, each containing the DSL for one job eg: jenkins-as-code/tree/master/jobs contains samplejob1.groovy, samplejob2.groovy, etc.
How would I configure a seed job in Jenkins that would get this list of groovy files from Git and create a job for each one of them.
Solution
In the seed job configuration screen:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.