Re: Push sources checked out from Gerrit to Git on jenkins Job using pipeline

2020-01-13 Thread Dominic Espiritu
Hi Björn Pedersen, Thanks for the reply, I will try the first approach you mentioned, I might also take a look at the gerrit replication feature in the future since I have one repository that is modified completely in gerrit and should not be synced with my Git, Im just wondering of its possible w

Re: Push sources checked out from Gerrit to Git on jenkins Job using pipeline

2020-01-13 Thread 'Björn Pedersen' via Jenkins Users
Hi, Checkout from the source with scm and just add a shell step that does the push. Per default the scm implementation also will use the installed commandline git client. If you need credentials for the push, you can wrap the shell step in a withCredentials. But maybe just using the gerrit rep

Push sources checked out from Gerrit to Git on jenkins Job using pipeline

2020-01-13 Thread Dominic Espiritu
Hi, I would just like to ask if possible to push updates from my Gerrit repository to Git repository using SCM in jenkins? I only tried doing this on a manual steps from my terminal window, Any suggestions would be a good help. Thanks, Dominic -- You received this message because you are sub

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

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: d

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

Re: git on jenkins

2013-02-21 Thread Kamal Ahmed
Strange thing is that if i use the git comand as a Shell Script within Jenkins, it works > > From: Johannes Wienke >To: jenkinsci-users@googlegroups.com >Cc: Kamal Ahmed >Sent: Tuesday, February 19, 2013 2:26 PM >Subject: Re: git

Re: git on jenkins

2013-02-19 Thread Sami Tikka
Johannes Wienke > To: Kamal Ahmed ; jenkinsci-users@googlegroups.com > Sent: Tuesday, February 19, 2013 12:12 PM > Subject: Re: git on jenkins > > On 19.02.2013 17:28 schrieb Kamal Ahmed: > > > > Johannes, > > > > sorry for the private message, just fat f

Re: git on jenkins

2013-02-19 Thread Johannes Wienke
On 19.02.2013 18:25 schrieb Kamal Ahmed: > Username = kahmed > which is the same user which can do a git successfully on a command line. Hm ok, then I don't know. Maybe ssh agent is required and not available in the jenkins session or something like that? Cheers, Johannes signature.asc Descri

Re: git on jenkins

2013-02-19 Thread Kamal Ahmed
Username = kahmed which is the same user which can do a git successfully on a command line. > > From: Johannes Wienke >To: Kamal Ahmed ; jenkinsci-users@googlegroups.com >Sent: Tuesday, February 19, 2013 12:12 PM >Subject: Re: git on

Re: git on jenkins

2013-02-19 Thread Johannes Wienke
On 19.02.2013 17:28 schrieb Kamal Ahmed: > > Johannes, > > sorry for the private message, just fat fingered when replying. > yes, i am using > Launch slave on Unix machines using SSH" as start method > > not sure what is the file to be configured > > My network is > > [Jenkins Master ] -

Re: git on jenkins

2013-02-19 Thread Kamal Ahmed
51 AM >Subject: Re: git on jenkins > >On 02/19/2013 04:49 PM, Kamal Ahmed wrote: >> >> >> kahmed@datascout:~/TEMP$ id >> uid=1000(kahmed) gid=1000(kahmed) >> groups=1000(kahmed),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare) >&

Re: git on jenkins

2013-02-19 Thread Johannes Wienke
On 02/19/2013 04:49 PM, Kamal Ahmed wrote: > > > kahmed@datascout:~/TEMP$ id > uid=1000(kahmed) gid=1000(kahmed) > groups=1000(kahmed),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare) > kahmed@datascout:~/TEMP$ git clone > 10.100.100.96:/extra/cte/www/repo/Dout.git

Re: git on jenkins

2013-02-19 Thread Kamal Ahmed
o: "jenkinsci-users@googlegroups.com" >Sent: Tuesday, February 19, 2013 7:44 AM >Subject: Re: git on jenkins > > >I think that indicates that the user account context where you have configured >"passwordless login" is probably different than the user account con

Re: git on jenkins

2013-02-19 Thread Johannes Wienke
On 02/19/2013 01:44 PM, Mark Waite wrote: > I think that indicates that the user account context where you have > configured "passwordless login" is probably different than the user account > context where you are executing Jenkins. > > You might be able to check that by creating a small job whi

Re: git on jenkins

2013-02-19 Thread Mark Waite
ng the differences between the context where it works and the context where it fails. Mark Waite > > From: Kamal Ahmed >To: Johannes Wienke ; >"jenkinsci-users@googlegroups.com" >Sent: Tuesday, February 19, 2013 5:27 AM >Subject: R

Re: git on jenkins

2013-02-19 Thread Johannes Wienke
On 02/18/2013 05:08 PM, Kamal Ahmed wrote: > Hi, > I setup 2 linux hosts with passwordless login, and git clone Address>:/extra/yte/www/repo/Dout.git > works on command line, but when i use : Address>:/extra/yte/www/repo/Dout.git as repo URL, i get an error: > > Failed to connect to repository :

git on jenkins

2013-02-18 Thread Kamal Ahmed
Hi, I setup 2 linux hosts with passwordless login, and git clone :/extra/yte/www/repo/Dout.git works on command line, but when i use : :/extra/yte/www/repo/Dout.git as repo URL, i get an error: Failed to connect to repository : Command "/usr/bin/git ls-remote -h :/extra/yte/www/repo/Dout.git HEAD"

RE: git on jenkins

2012-06-03 Thread Alex Earl
The git plugin should do what you want. Jenkins uses git heavily for development so the plugin is very stable. Sent from my Windows Phone -- From: ibiiztera Sent: 6/3/2012 5:31 AM To: jenkinsci-users@googlegroups.com Subject: git on jenkins how can i use a git

git on jenkins

2012-06-03 Thread ibiiztera
how can i use a git repository with jenkins? should i use hudson instead?