Thanks but simply getting the Jenkinsfile itself incurs a potentially 
costly clone that we can't seem to configure at 
all: https://issues.jenkins-ci.org/browse/JENKINS-33273

On Friday, September 30, 2016 at 10:14:37 AM UTC-4, Mark Waite wrote:
>
> 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 <
> jorgen.bru...@gmail.com <javascript:>> 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 jenkinsci-use...@googlegroups.com <javascript:>.
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8137fa2b-4c7c-4e64-a44e-865df95cfcc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to