Re: i need to connect git on jenkins but im getiing error 128

2019-03-01 Thread Mark Waite
It is generally a bad practice to embed a space character in the name of
the git repository.  If the example you provided accurately describes what
you're trying to do, then you'll probably need to rename the repository
from 'project Name' to something that does not include space characters.

Other things to consider:

   - Have you defined a Jenkins credential with the username and password
   that is used to access that repository?
   - Are you using that Jenkins credential in the job definition?
   - Are you able to clone from that repository using command line git with
   the username and password from the Jenkins credential?
   - Can you clone public repositories (for example,
   https://github.com/jenkinsci/git-client-plugin)?
   - Can you clone other private repositories?
   - Have you tried adding JGit from the "Manage Jenkins" -> "Global Tool
   Configuration" -> "Git installations" section, then adjust your job to use
   JGit instead of command line git?
   - Is this a Freestyle job, a Pipeline job, a Multibranch Pipeline job,
   or something else?
   - What version of command line git is running on the agent where the
   command fails?
   - What operating system are you using?


On Fri, Mar 1, 2019 at 6:19 AM mohammad sayekooie 
wrote:

> *Failed to connect to repository : Command "git ls-remote -h
> http://a.a.a.a:8081/master/project 
> Name.git HEAD" returned status code 128:*
> stdout:
> stderr: error: The requested URL returned error: 401 Unauthorized while
> accessing http://*a.a.a.a:8081/master/project Name.git*/info/refs
>
> fatal: HTTP request failed
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/afaaf96d-0c35-4e92-b49c-19f564ffacea%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thanks!
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH9Bu6R1L8J7MY6xzD7wwDg72XwooNq5t85sKw7cAbzYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: i need to connect git on jenkins but im getiing error 128

2019-03-01 Thread Dirk Heinrichs
Am Freitag, den 01.03.2019, 04:56 -0800 schrieb mohammad sayekooie:

401 Unauthorized

And that doesn't ring a bell? Seems you need to provide credentials.

HTH...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/afe0e3a098ae4d86e08e3a65cce1d3c13376ba56.camel%40opentext.com.
For more options, visit https://groups.google.com/d/optout.


i need to connect git on jenkins but im getiing error 128

2019-03-01 Thread mohammad sayekooie
*Failed to connect to repository : Command "git ls-remote -h 
http://a.a.a.a:8081/master/project Name.git HEAD" returned status code 128:*
stdout: 
stderr: error: The requested URL returned error: 401 Unauthorized while 
accessing http://*a.a.a.a:8081/master/project Name.git*/info/refs

fatal: HTTP request failed

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/afaaf96d-0c35-4e92-b49c-19f564ffacea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.