Multipipeline branch options the way to go here. But Buck the bugs answer a few down might help you create multiple stages from a flat file of your students names to help you create the branches.
https://stackoverflow.com/questions/42837066/can-i-create-dynamically-stages-in-a-jenkins-pipeline On Fri, 20 Jul 2018, 13:27 Jan Monterrubio, <janmonterru...@gmail.com> wrote: > This definitely sounds like what Mark suggested. If you set up the GitHub > service and webhook, Jenkins can build on every push to any branch in a > repository. > > You’ll need to make sure the repositories have a jenkinsfile: > https://jenkins.io/doc/book/pipeline/jenkinsfile/ > > You’ll probably need some plugins like the GitHub branch source and maybe > GitHub organization. > > On Thu, Jul 19, 2018 at 22:43 Mark Waite <mark.earl.wa...@gmail.com> > wrote: > >> I think you want a "GitHub Organization" project. It will scan an entire >> organization then create and destroy jobs based on the presence of a >> Jenkinsfile in the root directory of one or more branches in the >> repositories that it finds. >> >> Mark Waite. >> >> On Thu, Jul 19, 2018 at 9:26 PM Ted Cowan <tco...@my321.net> wrote: >> >>> I am a college instructor that is automating the submission of >>> programming assignments using GitHub Classroom. Typically we have 50 >>> students, each submitting 9 assignments per semester. All of the repos are >>> part of one organization, and I wish to trigger a build and test when each >>> student pushes to their private repo. >>> >>> Is this possible in Jenkins, and if so, how? There are myriad examples >>> of how to trigger a build on a single repo, but I need to trigger the same >>> build when any of 50 repos are changed. I hope this doesn't mean I have to >>> add the names of all 50 repos to each job, but that might be doable if I >>> edit the config.xml outside of Jenkins. >>> >>> ...ted >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to jenkinsci-users+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/56757380-01d9-45ef-9123-b0b732ab819b%40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/56757380-01d9-45ef-9123-b0b732ab819b%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGVtSZVSZ_Hddyte7aZhZ_Cu%2BwB%2BF2Vu49euXEPDSvLTA%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGVtSZVSZ_Hddyte7aZhZ_Cu%2BwB%2BF2Vu49euXEPDSvLTA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9Kd0cvtmMQyUXs4a9FOtetevTBSU50vt%3DiNDaJLmsVCbQ%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9Kd0cvtmMQyUXs4a9FOtetevTBSU50vt%3DiNDaJLmsVCbQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BGaY5iZJgKbbqzb_rTzM1B5CnM_xVtTW_-WQ5D-QJsXzbXTLQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.