I'm not sure about Mercurial specifically, but it's complaining about the _host_ key. Run some hg command against that repo from the Jenkins node interactively once, you'll probably be prompted to confirm the host key fingerprint. This'll get stored in ~/.ssh/known_hosts for future executions. Then try again.
On 22.09.2013, at 01:49, bluntcoder <
ma...@mikutech.com> wrote:
> Hi there,
>
> I'm trying to get my new project setup on a new Jenkins build, installed on Ubuntu Linux. I use Kiln by FogBugz. I've tried many different solutions based on tons of research on the net. But still this is my output:
>
> $ hg clone --rev default --noupdate ssh://
miku...@mikutech.kilnhg.com/Repositories/Group/Corpsite /var/lib/jenkins/jobs/Corpsite/workspace
> remote: Host key verification failed.
> abort: no suitable response from remote hg!
>
>
> At first I tried doing it with https, but that wouldn't work for writing to the repo, so I switch to SSH.
>
> The steps I took were as follows:
> • Installed nginx, jenkins and hg on my Ubuntu machine with apt.
> • Created an access token (a way of creating a username for Jenkins access) in kiln.
> • Added in to my /var/lib/jenkins/.hgrc file, since it looks like running as the "jenkins" user in linux.
> • Created an SSH key and placed the private key in the /var/lib/jenkins/.ssh folder.
> • Added the public key to my kiln configuration.
> I'm hoping someone here that's active uses Kiln and can help me. Otherwise if people don't know what's going on could someone give me insight on how to debug this? Maybe a way to write my own hg command in the Jenkins project so I can force to use my ssh key? Or perhaps how to turn on debug/verbose mode on logs so that I can figure out what's going on? Or where it's searching for my keys?
>
> Thanks,
> Mark
>
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.