• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO, Git and Jenkins: Impedance mismatch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO, Git and Jenkins: Impedance mismatch?


  • Subject: Re: WO, Git and Jenkins: Impedance mismatch?
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 22 Jun 2012 12:41:24 +0930

On 22/06/2012, at 12:25 PM, Kieran Kelleher wrote:

As you well know Paul, I don't have a Git-Jenkins setup (yet), but off the top of my head, if I was concerned about the network latency and space consumption of cloning a full git repo across the network for every Jenkins job execution, I would approach my setup as follows:

(1) First, on the Jenkins build server, setup a single bare repo mirror of the remote repo. There are a number of ways to mirror a git repo such as executing a 'git remote fetch --all' on the mirror side or adding a post-commit hook on the remote side to push all commits to the mirror as they come in, so just google git repo mirroring and pick a method that works best for you.

(2) For your Jenkins workspace clone operation one or more of the git clone operations that gives the fastest clone and is suitable for a Jenkins workspace clone (see --local, --shared, --reference, --no-checkout, --single-branch and --depth options), some of which will give you a minimal, hard-link-no-copy or a shallow single-branch clone that might be useful only to use as a short-lived skeleton repo useful only for a for a Jenkins build of a single commit snapshot of a working copy.

Thanks Kieran, I'll look at those ideas.

I was also going to look at sparse checkout [1], though I think that might be beyond the ability of the current state of the Jenkins Git plugin.


[1]  http://schacon.github.com/git/git-read-tree.html#_sparse_checkout


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >WO, Git and Jenkins: Impedance mismatch? (From: Paul Hoadley <email@hidden>)
 >Re: WO, Git and Jenkins: Impedance mismatch? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: WO, Git and Jenkins: Impedance mismatch?
  • Next by Date: H2 plugin and prototypes
  • Previous by thread: Re: WO, Git and Jenkins: Impedance mismatch?
  • Next by thread: Add Required Web Resource Gets Stuck in IF IE Tag
  • Index(es):
    • Date
    • Thread