# Local git repository url

3 messages from 2015-11-19 to 2015-11-19. Participants: Vambara, JayaPrakash (Infosys), Konstantin Khomoutov, Jacob Keller.
Thread: https://gitlist.dev/t/40834

## Vambara, JayaPrakash (Infosys), 2015-11-19 10:48

Subject: Local git repository url
Message-ID: <7EF33D3D8E1EA14DB720C3BF1B7A24A80F36F357@PLYEXM02.customer.edfenergy.net>
URL: https://gitlist.dev/e/7EF33D3D8E1EA14DB720C3BF1B7A24A80F36F357%40PLYEXM02.customer.edfenergy.net
In-Reply-To: <7EF33D3D8E1EA14DB720C3BF1B7A24A80F36F32D@PLYEXM02.customer.edfenergy.net>

```
Hi Team,

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.

Thanks and Regards,
V. JayaPrakash
+91 9573457665

This e-mail and any files transmitted with it are 
confidential and may be protected by legal privilege. 
If you are not the intended recipient, please notify 
the sender and delete the e-mail from your system. 
This e-mail has been scanned for malicious content but 
the internet is inherently insecure and EDF Energy plc 
cannot accept any liability for the integrity of this 
message or its attachments. No employee or agent of EDF 
Energy plc or any related company is authorised to 
conclude any binding agreement on behalf of EDF Energy 
plc or any related company by e-mail. 

All e-mails sent and received by EDF Energy plc are 
monitored to ensure compliance with the company's 
information security policy.  Executable and script 
files are not permitted through the EDF Energy plc mail 
gateway.  EDF Energy does not accept or send mails above 
30 Mb in size.

EDF Energy plc
Registered in England and Wales No. 2366852
Registered Office: 40 Grosvenor Place, London SW1X 7EN

```

## Konstantin Khomoutov, 2015-11-19 11:06

Subject: Re: Local git repository url
Message-ID: <20151119140645.7f6c856efc66bd88160fd0c1@domain007.com>
URL: https://gitlist.dev/e/20151119140645.7f6c856efc66bd88160fd0c1%40domain007.com
In-Reply-To: <7EF33D3D8E1EA14DB720C3BF1B7A24A80F36F357@PLYEXM02.customer.edfenergy.net>

```
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).

To first rule out an issue with Jenkins you might just try cloning that
Git repo (local to local -- Git is fine with it).  Once you figure out
an URL which works for native Git (I assume you're talking about Git
for Windows), you can try to stick it to Jenkins and see it it works.

```

## Jacob Keller, 2015-11-19 22:26

Subject: Re: Local git repository url
Message-ID: <CA+P7+xpq+ebnYqUaszBEuWz90rbuBCoBx=fC6sPiM6kcZXggOA@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2BP7%2Bxpq%2BebnYqUaszBEuWz90rbuBCoBx%3DfC6sPiM6kcZXggOA%40mail.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:
> 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

```
