The https://github.com/MarkEWaite/jenkins-bugs/blob/JENKINS-36507-honorRefspec/Jenkinsfile file shows an example using a reference repository from within a Jenkinsfile. I use that repository frequently in two different multi-branch pipeline jobs to confirm that bugs which were fixed in the git plugin previously are still fixed.
The multi-branch pipeline jobs which use that repository are defined at https://github.com/MarkEWaite/docker/blob/lts-with-plugins/ref/jobs/jenkins-bugs-multibranch-pipeline/config.xml and at https://github.com/MarkEWaite/docker/blob/lts-with-plugins/ref/jobs/jenkins-bugs-multibranch-pipeline-no-localbranch/config.xml . Hope that helps, Mark Waite On Fri, Sep 30, 2016 at 6:13 AM Jørgen Sølvernes Sandnes < [email protected]> wrote: > Hi! > > I've enjoyed trying out the pipeline and multibranch pipeline plugin, and > it looks like a nice improvement to prior pipeline support. I think the > maintainers have done a very nice job here :) > > On my project we (sadly) have a large git repo (several GBs) to work with, > and this has led to long build times. I previously solved this by using a > reference repository which changed scm checkout time from several minutes > down to a few seconds. > > I have tried to find a way to do the same with the multibranch pipeline > plugin, but with no luck. > > Does anyone know if it's possible to do this? > > Best regards, > Jørgen > > -- > 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/743cc03b-13e5-4b1a-86cb-5173cf70e775%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/743cc03b-13e5-4b1a-86cb-5173cf70e775%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/CAO49JtF0wqmw%2Bb6RM9fF8pZVwHed46K%2Bv71H-C%2BQczWMAxXtQg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
