Hi, Thanks for the reply. Having 100's of pipeline projects in Jenkins may lead to performance and disk space issues on Jenkins controller right. Correct me if I am wrong.
On Mon, 18 Apr 2022, 2:51 pm John Patrick, <nhoj.patr...@gmail.com> wrote: > Hi, > So using scripted Jenkinsfile. I've setup projects where it loads a file, > and checks out those repositories dependencies, if they have a matching > branch name then it builds them. The Jenkinsfile is used for > "multibranchPipelineJob", then other jenkins jobs for develop and release > use "pipelineJob", plus some environment variables so release knows it does > the release stage. > > String prerequisiteProjectName = 'parent-project-example' > String prerequisiteDir = env.WORKSPACE + '/prerequisite/' + > prerequisiteProjectName > dir(prerequisiteDir) { > try { > git branch: env.BRANCH_NAME, > url: scmUrlPull, > credentialsId: env.SCM_CREDENTIALS_ID, > changelog: false > } catch (ex) { > deleteDir() > } > } > > But regarding your original question, about freestyle and multiple scm, > then I only use freestyle to execute groovy to create/maintain all the > other jobs/views. > > John > > > > On Mon, 18 Apr 2022 at 05:43, Adharsha sri <adharshasuma...@gmail.com> > wrote: > >> Hi, >> Can anyone please suggest the alternative for multiple SCM plugin. >> >> On Thu, 14 Apr 2022, 7:07 pm Adharsha sri, <adharshasuma...@gmail.com> >> wrote: >> >>> Hi Team, >>> Is there any alternative plugin for Multiple SCM plugin to checkout >>> multiple git repos in jenkins freestyle. >>> >>> -- >> 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/CAJWGB6ppeh1Kdp2hRgarCONejtHUw3dp1qsRr%2BVQvM_h3iKD5w%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAJWGB6ppeh1Kdp2hRgarCONejtHUw3dp1qsRr%2BVQvM_h3iKD5w%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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/CAH9u10nDwj1zzuQdF5TLVXOATnTaOAx-RMqnK_mW9a-Ti4znUQ%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAH9u10nDwj1zzuQdF5TLVXOATnTaOAx-RMqnK_mW9a-Ti4znUQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJWGB6rFT23ouW8q%2B3JJpRfxYNFuE7TYkiNTpZa%2BEH9KFLkPUg%40mail.gmail.com.