On Tue, Jan 16, 2018 at 8:52 AM <[email protected]> wrote: > Is it still possible to have this triggered on PR on the repository > without the Jenkinsfile ? > > I don't think so. Using a "shadow repository" with a Jenkinsfile is a temporary technique that I used while exploring Jenkins Pipeline.
If you're ready to evaluate pull requests with Pipeline, I think you're ready to persuade the repository owners of the value of Jenkins Pipeline. Mark Waite > On Sunday, April 30, 2017 at 1:46:32 AM UTC+2, Mark Waite wrote: >> >> >> >> On Saturday, April 29, 2017 at 3:06:32 PM UTC-6, Kaido Kert wrote: >>> >>> Hi, >>> >>> I've been using Freestyle multibranch project option for a long time to >>> run multi-branch builds. However, it officially say's its deprecated now. >>> However, we do not have the freedom to stuff Jenkinsfile into all >>> repositories/branches we want to build, and never will. >>> >>> >> If you aren't able to place a Jenkinsfile into the repositories / >> branches that you want to build, you might create a new (independent) >> repository which has one branch per repository and branch that you will >> build. In each of the branches of that repository, you can add the >> Jenkinsfile and have it perform the checkout of the repository / branch >> that you're not able to change. That allows you to have a repository with >> a branch per build (which is what multi-branch pipeline wants), and you can >> place a Jenkinsfile at the root of each branch to control what it is >> building. >> >> That creates a "builders" repository where you control the Jenkinsfile, >> and that Jenkinsfile references the repositories and branches being built. >> >> I used that technique to "test drive" a pipeline configuration for a >> component that wasn't ready to use Jenkins. The official source repository >> didn't know that I was test driving, and I was able to make rapid progress >> without complaints about my Jenkins experiments. >> >> Mark Waite >> >> >>> When i configure a pipeline multibranch build item, there is a Build >>> Configuration: Mode dropdown in the UI, which frustratingly only offers 1 >>> option: Jenkinsfile. >>> I'm guessing there is some plugin or mechanism to get more choices, such >>> as pasted in script into this dropdown, but how ? >>> >>> cheers, >>> -kert >>> >>> >>> >>> -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/458249a0-70b8-4e83-9f7a-a861fe0549a0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/458249a0-70b8-4e83-9f7a-a861fe0549a0%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHAWk-9_3o9VmbwyvjC%2Bw67jWU7J_H8z5TXwS5wbfai4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
