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