Re: GIT and Jenkins for dummies

2016-05-14 Thread Mark Waite
Did you use the credentials link on the administer Jenkins page to tell Jenkins your ssh private key? After that, dogs you choose that credential for your fit repository from the job definition page? Mark Waite On Sat, May 14, 2016, 2:09 AM David Montgomery wrote: > Hi, > > PS I can even clone

Re: GIT and Jenkins for dummies

2016-05-14 Thread David Montgomery
Hi, PS I can even clone as jenkins user using ssh on github. So is this a bug with jenkins 2.3 UI? Should I revert back to a more stable version of jenkins? On Saturday, May 14, 2016 at 3:56:25 PM UTC+8, David Montgomery wrote: > > Hello Jenkins Dev team, > > Wow what pain. > > In this fold

Re: GIT and Jenkins for dummies

2016-05-14 Thread David Montgomery
Hello Jenkins Dev team, Wow what pain. In this folder I have my keys and yes I an authenticate /var/lib/jenkins/.ssh ssh -T g...@github.com The authenticity of host 'github.com (xxx.xxx' can't be established. RSA key fingerprint is 1dsdsdsdsd. Are you sure you want to continue connecting (yes/n

Re: GIT and Jenkins for dummies

2016-05-13 Thread Mark Waite
A google search returned "Jenkins Git Integration" at https://www.youtube.com/watch?v=ISAUsBSI8G0 I created the "Jenkins in Five Minutes" video some years ago that is hosted on youtube as well. If those aren't what you're seeking, you could try Harpreet Singh's blog posting https://www.cloudbees.

Re: GIT and Jenkins

2013-03-08 Thread Jeff
I'm still seeing this issue. When poking around the jenkins settings, I see two XML files related to Git stuff. They are: - - hudson.plugins.git.GitSCM.xml - hudson.plugins.git.GitTool.xml Are both of these needed? The content of the file `*GitTool.xml` has my settings and looks corre

Re: GIT and Jenkins

2013-03-07 Thread Jeff
Thanks! I do have automatic installation of git, but I already had my master node labeled `Linux`. I also have an installer for Git that runs `sudo apt-get install git` for nodes labeled 'Linux'. I should note that this issue was resolved but has now reappeared. I had the ls-remote error resolv

Re: GIT and Jenkins

2013-03-07 Thread Michaël Pailloncy
We've the same type of error. Do you use the automatic installation feature of tools like Git, Maven, Java ... ? In our case, the master does not build anything (except admin jobs) and we have automatics tools installation activated with HTTP URL pointing directly to our internal Nexus which stor

Re: GIT and Jenkins

2013-03-07 Thread Jeff
Thanks for the suggestions. Here is more detail regarding questions/suggestions: (Jenkins v 1.503) I have one master and 3 slaves. The master is running as user `tomcat7`. The slaves run as user `adminuser`. The master has two build executors, the slaves each have 3. The Git 'clone' command

Re: GIT and Jenkins

2013-03-07 Thread nicolas de loof
right, ls-remote is used to validate repository URL (form master) and to poll scm (single branch) 2013/3/7 Eduardo Dias > I had the same problem and done what Nicolas suggested and the > message stopped. Even Jenkins does not use master to build the jenkis > master try to access repository. >

Re: GIT and Jenkins

2013-03-06 Thread nicolas de loof
does the clone run on master or some slave ? this "ls-remote" command is executed on master, maybe you just miss the adequate ssh key there. Long term plan is to integrate ssh-credentials-plugin in git-plugin to manage this. 2013/3/7 Jeff > I thought I asked this and fixed it before, but it has

Re: GIT and Jenkins

2013-03-06 Thread Mark Waite
The command that is listed there is a surprise.  I think it should say "git ls-remote ..." rather than "ls-remote ...".   I wonder if your Jenkins is unable to locate the Git executable?  Check the system configuration screen to see if it is pointing to a non-existent git executable, or possibl

Re: Git and Jenkins-- behind master by 55 commits

2012-03-15 Thread Sami Tikka
2012/3/15 KB1JWQ : > I find I have to "git checkout master" or it stays on "no branch." Why is the "no branch" a problem? > What's the "proper" way to get the build operation to happen on the > most current version of master? Do not checkout master in your build step. Trust the git plugin. The g