I am trying to integrate chef with Jenkins.
My scenario is, I have created few recipes in Chef and want to execute the chef run list through Jenkins. I have installed ch
"Host key verification failed error" is quite clear, your jenkins host do not know the target server.
on your jenkins host (as jenkins user) run ssh-keyscan target_host > ~/.ssh/known_hosts
and then retry and it should work as expected.
Edit: the keyscan could be a task in jenkins itself. For the path I assumed you were running jenkins on a linux box, adapt to jenkins user home path if needed or use %HOME% in place of ~