Yep, I'm working towards using the reference repo on the agents for the 
actual build part. I don't know if I can configure that for the pre-build 
checkout. The problem is occurring when Jenkins is fetching the Jenkinsfile 
before the build gets going.

On Wednesday, March 28, 2018 at 7:05:30 PM UTC+1, Laurent Malvert wrote:
>
> Also, using a local clone that will then be used by all builds is much 
> better than contacting a remote repo.
>
>
> On Wed, Mar 28, 2018, 20:02 Laurent Malvert <[email protected] 
> <javascript:>> wrote:
>
>> Have you tried the advanced options? There's a flag to request a shallow 
>> clone. This reduces the fetch time very significantly.
>>
>> On Wed, Mar 28, 2018, 18:03 Steven Foster <[email protected] 
>> <javascript:>> wrote:
>>
>>> Is there an alternative to a full checkout on the master to determine 
>>> the merge result of a Jenkinsfile for PR merge builds in a multibranch 
>>> project? Specifically using github. I'm finding the full checkout seems to 
>>> strain the whole system when the master needs to check out a large repo ~15 
>>> times at once for my build. I understand the need for this behaviour as a 
>>> default and that mine is an edge case. 
>>>
>>> Does github store the merge result in a hidden branch that can be 
>>> leveraged? Or can Jenkins / the git plugin suites do some kind of double 
>>> lightweight checkout trickery? Will have to switch to pr-head building for 
>>> now :(
>>>
>>> -- 
>>> 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] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/53442155-9a4b-498d-9ffa-8d90a36e33dc%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/53442155-9a4b-498d-9ffa-8d90a36e33dc%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/ba3f8fe3-6fb2-4bde-bf4a-01b7492df6ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to