Re: ssh agent failing on pipeline script running on slave

2019-04-24 Thread forpix321
Hi Salaran, *have you resolved this issue ?, I'm getting the same issue like wise any help :)* On Tuesday, May 23, 2017 at 4:24:19 PM UTC+5:30, Aitkiar Salaran wrote: > > Hi, > > I have pipeline job that uses ssh agent step to set up credentials to > connect to git repository and clone it. When

Re: ssh agent failing on pipeline script running on slave

2017-05-24 Thread Aitkiar Salaran
I'll answer my self. The problem was not in the ssh-agent step but on the knwon_hosts file. Since it was the first connection to the git repos from that slave machine, the knwon_hosts file in the slave didn't contain the keys for the remote git server and the checkout fails. I supouse that the

ssh agent failing on pipeline script running on slave

2017-05-23 Thread Aitkiar Salaran
Hi, I have pipeline job that uses ssh agent step to set up credentials to connect to git repository and clone it. When i execute the job on the master jenkins, it runs flawlesly. When run it on a slave it fails because ssh agent closes before the git clone. This is an example of the code that