Thanks!
That did the trick.
David Balažic
Lead engineer
Endava
From: [email protected] <[email protected]> On
Behalf Of Mark Waite
Sent: Friday, 26 May 2023 15:47
To: Jenkins Users <[email protected]>
Subject: Re: git plugin, use --single-branch option to save disk space?
CAUTION - EXTERNAL EMAIL
On Friday, May 26, 2023 at 7:23:39 AM UTC-6 David Balazic wrote:
Thanks but I already tested those:
Refspec: refs/heads/main
Honor refspec on initial clone: enabled
Shallow clone: enabled
Shallow clone depth: 1
They download a little less : 1.8 GB
The credit goes to the shallow clone option. The Honor refspec option does not
seem to make any difference. Even the commands seem to be unaffected by it.
Maybe the refspec option is missing from the GUI? The example on the web has it.
Not missing from the GUI, just hidden by default behind the "Advanced" button
on the Repositories configuration of the page. Click the Advanced button and
it will show two more fields, a "Name" field and a "Refspec" field.
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
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/833aaac1-5ba2-408f-9e02-926bfc9a747fn%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/833aaac1-5ba2-408f-9e02-926bfc9a747fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
The information in this email is confidential and may be legally privileged. It
is intended solely for the addressee. Any opinions expressed are mine and do
not necessarily represent the opinions of the Company. Emails are susceptible
to interference. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance on
it, is strictly prohibited and may be unlawful. If you have received this
message in error, do not open any attachments but please notify the Endava
Service Desk on (+44 (0)870 423 0187), and delete this message from your
system. The sender accepts no responsibility for information, errors or
omissions in this email, or for its use or misuse, or for any act committed or
omitted in connection with this communication. If in doubt, please verify the
authenticity of the contents with the sender. Please rely on your own virus
checkers as no responsibility is taken by the sender for any damage rising out
of any bug or virus infection.
Endava plc is a company registered in England under company number 5722669
whose registered office is at 125 Old Broad Street, London, EC2N 1AR, United
Kingdom. Endava plc is the Endava group holding company and does not provide
any services to clients. Each of Endava plc and its subsidiaries is a separate
legal entity and has no liability for another such entity's acts or omissions.
--
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/VI1PR06MB435289D93F27D63FFE8F1A6B82479%40VI1PR06MB4352.eurprd06.prod.outlook.com.