| Calling Klocwork from Hudson [message #901744] |
Tue, 14 August 2012 08:51  |
Sreeram Balachandran Messages: 5 Registered: July 2012 |
Junior Member |
|
|
Hi,
I have two Virtual Machines. In one, I have installed Hudson and the other one for Klocwork. I am now able to build the scripts successfully. But I am not able to call Klocwork which is in the Virtual machine 2 from VM1. I use the following script given below;
if [ $Klocwork = "true" ]; then
echo "Starting Klocwork Report ..."
sshpass -p 'password' ssh hostname "sudo chmod work dir/build_script_kw.sh;/workdir/build_script_kw.sh $SVNID $Version"
fi
Please guide me to fix this issue.
Thanks,
Sreeram
|
|
|
|
|
| Re: Calling Klocwork from Hudson [message #903464 is a reply to message #903361] |
Thu, 23 August 2012 13:32  |
|
"Host key verification failed" error is with ssh itself. This probably means that the ssh key that was generated on the host does not match the one that's in your ~/.ssh/known_hosts. To fix this you need to modify that file and either remove the line for Machine-2 or you can run the command "ssh-keygen -R hostname" where hostname is Machine-2. That command will try to establish a remote connection and redownload the public key for you.
/**
* @author Steven Christou
* @dev Hudson-ci
*/
|
|
|
Powered by
FUDForum. Page generated in 0.01727 seconds