import static groovy.io.FileType.FILESdef dir = new File("jobs");def files = [];dir.traverse(type: FILES, maxDepth: 0) { files.add(it) };files.each {// build seed job here}
--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/a300deb1-b535-4f85-ba14-7244fe64f082%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|- jobs/
|- resources/|- src/|- seeds/| |-seed_of_seeds.groovy <- My seed job builder file
|- build.gradle|- gradle.properties
Result:Processing DSL script seed_of_seeds.groovyfiles found: 0
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/dea4d0e6-0b02-476b-bb54-7701de83d743%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/478c1bd5-59a9-4b6b-bebb-00732b12af20%40googlegroups.com.