On Thu, Jan 16, 2020 at 7:41 PM Hormoz Zarnani <hormoz.zarn...@gmail.com>
wrote:

>
> Hi.   I am in a similar situation where I have several very large Git
> repositories, and I want to build multibranch pipelines for each of them,
> and my reference repositories don’t seem to be used for scanning/indexing.
>  My issue can’t be solved by a timeout increase.  My issue is storage.  I
> see in one of the pipelines, which was small enough to be cloned on my
> Jenkins master, that the reference repository is used for the checkouts in
> the per-branch workspaces.   But my master  node simply doesn’t have enough
> writable storage to fetch all objects of more than a dozen very large Git
> repositories.
>
> Mark Waite, if this is something you know how to fix but prefer to
> delegate, I’m happy to volunteer.  I’m new to writing Jenkins plugins, but
> I should be able to help if I get some direction.
>
>
Thanks for the offer!  Unfortunately, I don't know how to fix it.  I
haven't attempted to duplicate the bug myself, so I can't confirm with
confidence that it is a bug.

You're welcome to download the git plugin source code, create an automated
test which shows the issue, then add the changes which fix the test.

If it is not using a reference repository for branch scanning, then that
may indicate the branch scanning code is not passing the setting for the
reference repository to the git client plugin.  An automated test that
confirms the reference repository is not used when scanning the repository
will show the problem through a test and will provide a basis for a fix.

In terms of financial cost, you'll probably find it cheaper and faster to
purchase additional disc space for your master than to find and fix the
issue.  Attempting to save disc space is frequently much more expensive
than the price of the disc drives.  I know that's not the answer you were
hoping to hear, but considering the price of disc space and the cost of
development time, I suspect it is realistic.

Mark Waite

-- 
> 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/e970d393-e3e6-4add-acd0-8d57144dbc8c%40googlegroups.com
> .
>


-- 
Thanks!
Mark Waite

-- 
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/CAO49JtFwi3%3DwqWYL8HY0RQRfw4bz50XvWJEhBX-OtULEwPAXdw%40mail.gmail.com.

Reply via email to