Re: Update remote Git repository with Jenkins

2016-05-11 Thread Mark Waite
Jenkins credentials work on slaves as well on master. The same credentials are used on master and on all slaves. Mark Waite On Wed, May 11, 2016 at 2:24 PM Daniel Koch wrote: > Hi Mark, > > yes. I think the problem is not by the plugin :-) > > I recreated a new public key and tried again the g

Re: Update remote Git repository with Jenkins

2016-05-11 Thread Daniel Koch
Hi Mark, yes. I think the problem is not by the plugin :-) I recreated a new public key and tried again the git plugin. This works now. It updates a git clone in the Jenkins workspace, as expected. But back to my initial plan. I want to trigger an git update, chekout, ... on a remote server. T

Re: Update remote Git repository with Jenkins

2016-05-11 Thread Mark Waite
That's the correct plugin. It works in many thousands of installations, so I'm reasonably confident it should work in your installation as well. You may want to check that you've registered the credential correctly in the Jenkins server and that the git version you're using is at least git versio

Re: Update remote Git repository with Jenkins

2016-05-11 Thread Daniel Koch
Hi Mark, Yes. You mean this one? I also tried this and get the following error: Failed to connect to repository : Command "/usr/local/bin/git -c core.askpass=true ls-remote -h ssh://git@:7999/.git HEAD" returned status code 128: stdout:

Re: Update remote Git repository with Jenkins

2016-05-11 Thread Mark Waite
Rather than preform the got fetch in a shell script, you will have better luck with the git plugin. It allows you to define the repository and credentials, then it does the work On Tue, May 10, 2016, 11:18 PM Daniel Koch wrote: > Hi, > > I want to setup a simple Jenkins job for managing (f.e.