Re: Local git repository url
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Nov 19, 2015, 22:26 UTC
- Message-ID
- <CA+P7+xpq+ebnYqUaszBEuWz90rbuBCoBx=fC6sPiM6kcZXggOA@mail.gmail.com>
- In-Reply-To
- <20151119140645.7f6c856efc66bd88160fd0c1@domain007.com>
On Thu, Nov 19, 2015 at 3:06 AM, Konstantin Khomoutov <kostix+git@007spb.ru> wrote:
Show 25 quoted lines
> On Thu, 19 Nov 2015 10:48:51 +0000 > "Vambara, JayaPrakash (Infosys)" <JayaPrakash.Vambara@edfenergy.com> > wrote: > >> I am trying to setup a local git repository and manage it from local >> Jenkins set-up. So, both Jenkins and git are on my local desktop. >> >> However, I am trying to give the Repository URL but with no luck. >> >> My repository is in D drive in location D:\Git-Try >> >> I tried to configure this Repository URL as --- file:///d/Git-Try >> also file:///D:\Git-Try , but was not successful. >> >> Can you please let me know what should be the Repository URL. >> >> I have created the db in above location, pushed few files and >> commited them as well. > > Try D:/Git-test first. > > Otherwise it might heavily depend on how Jenkins interprets those URLs > and whether it even uses stock Git to access the repository (and not > something else like JGit). >
Jenkins Git plugin uses Git-for-Windows CLI by default. You should be safe using any URL which works for git CLI locally. If not, I suggest filing a bug against the Jenkins git plugin to help ensure it gets fixed :)
Regards, Jake