RE: Difficulty to make Jenkins talk to Git

2014-02-13 Thread Lily Fu
1. I did have git plugin installed
2. I am very new,... what is the full stacktrace?

Is it from the console output of the job?

Lily

From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on 
behalf of nicolas de loof [nicolas.del...@gmail.com]
Sent: Thursday, February 13, 2014 3:15 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Difficulty to make Jenkins talk to Git

you should be able to use credentials in URL (legacy mode).
Please attach full stacktrace


2014-02-12 21:27 GMT+01:00 Kevin Fleming (BLOOMBERG/ 731 LEXIN) 
mailto:kpflem...@bloomberg.net>>:
You cannot include credentials in the repository URL. They must be specified in 
the 'credentials' area of the Git client plugin, and the location of that 
depends on which version of the plugin you installed. Which one do you have?


- Original Message -
From: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>
To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>
At: Feb 12 2014 15:14:23
Hi,

I installed Git client  1.8.5.2 myself;
We have a Git repository server at 
http://***.***.com:8080/git/git/Sth/sth.git

I used Jenkins management tool installed Git Client plugin;
I tried to make jenjins talk to my Git repository:

For a test job, selected Git
And Repository URL: 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git

I got:


[*]Failed to connect to repository : Error performing command: git 
ls-remote -h 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
 HEAD

While, I was able to run

git ls-remote -h 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
 HEAD

from git bash window;

but not from window's cmd,


How can I make my Jenkins talk to my Git Repository server?

Thanks!

Lily
--
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<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.


--
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.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.
<>

Re: Difficulty to make Jenkins talk to Git

2014-02-13 Thread nicolas de loof
you should be able to use credentials in URL (legacy mode).
Please attach full stacktrace


2014-02-12 21:27 GMT+01:00 Kevin Fleming (BLOOMBERG/ 731 LEXIN) <
kpflem...@bloomberg.net>:

> You cannot include credentials in the repository URL. They must be
> specified in the 'credentials' area of the Git client plugin, and the
> location of that depends on which version of the plugin you installed.
> Which one do you have?
>
>
> - Original Message -
> From: jenkinsci-users@googlegroups.com
> To: jenkinsci-users@googlegroups.com
> At: Feb 12 2014 15:14:23
>
>  Hi,
>
>
>
> I installed Git client  1.8.5.2 myself;
>
> We have a Git repository server at
> http://***.***.com:8080/git/git/Sth/sth.git
>
>
>
> I used Jenkins management tool installed Git Client plugin;
>
> I tried to make jenjins talk to my Git repository:
>
>
>
> For a test job, selected Git
>
> And Repository URL:
> http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
>
>
>
> I got:
>
>
>
> [image: *]*Failed to connect to repository : Error performing
> command: git ls-remote -h
> http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
> 
> HEAD*
>
>
>
> While, I was able to run
>
>
>
> *git ls-remote -h
> http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
> 
> HEAD*
>
>
>
> *from git bash window;*
>
>
>
> *but not from window's cmd, *
>
>
>
>
>
> How can I make my Jenkins talk to my Git Repository server?
>
>
>
> Thanks!
>
>
>
> Lily
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>  --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.
<>

Re: Difficulty to make Jenkins talk to Git

2014-02-12 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
The Git Client plugin has that listed as a dependency and will pull in 
everything it needs.

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Feb 12 2014 16:29:12


You need the git plugin in addition to the git client plugin
On Feb 12, 2014 1:14 PM, "Lily Fu"  wrote:

  

Hi,
 
I installed Git client  1.8.5.2 myself; 
We have a Git repository server at http://***.***.com:8080/git/git/Sth/sth.git
 
I used Jenkins management tool installed Git Client plugin;
I tried to make jenjins talk to my Git repository:
 
For a test job, selected Git 
And Repository URL: 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
 
I got: 
 
Failed to connect to repository : Error performing command: git 
ls-remote -h 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD
 
While, I was able to run 
 
git ls-remote -h 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD
 
from git bash window;
 
but not from window’s cmd, 
 
 
How can I make my Jenkins talk to my Git Repository server?
 
Thanks!
 
Lily-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.
<>

Re: Difficulty to make Jenkins talk to Git

2014-02-12 Thread Mark Waite
You need the git plugin in addition to the git client plugin
On Feb 12, 2014 1:14 PM, "Lily Fu"  wrote:

>  Hi,
>
>
>
> I installed Git client  1.8.5.2 myself;
>
> We have a Git repository server at
> http://***.***.com:8080/git/git/Sth/sth.git
>
>
>
> I used Jenkins management tool installed Git Client plugin;
>
> I tried to make jenjins talk to my Git repository:
>
>
>
> For a test job, selected Git
>
> And Repository URL:
> http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
>
>
>
> I got:
>
>
>
> [image: *]*Failed to connect to repository : Error performing
> command: git ls-remote -h
> http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
> 
> HEAD*
>
>
>
> While, I was able to run
>
>
>
> *git ls-remote -h
> http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git
> 
> HEAD*
>
>
>
> *from git bash window;*
>
>
>
> *but not from window's cmd, *
>
>
>
>
>
> How can I make my Jenkins talk to my Git Repository server?
>
>
>
> Thanks!
>
>
>
> Lily
>
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.
<>

Difficulty to make Jenkins talk to Git

2014-02-12 Thread Lily Fu
Hi,

I installed Git client  1.8.5.2 myself;
We have a Git repository server at http://***.***.com:8080/git/git/Sth/sth.git

I used Jenkins management tool installed Git Client plugin;
I tried to make jenjins talk to my Git repository:

For a test job, selected Git
And Repository URL: 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git

I got:


[*]Failed to connect to repository : Error performing command: git 
ls-remote -h 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD

While, I was able to run

git ls-remote -h 
http://lily.fu:mypasswordtogit@gitserver***.com:8080/git/git/STH/sth.git HEAD

from git bash window;

but not from window’s cmd,


How can I make my Jenkins talk to my Git Repository server?

Thanks!

Lily

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.
<>