Skip to main content



      Home
Home » Archived » Hudson » Calling Klocwork from Hudson(To call Klocwork run from Hudson after successful build)
Calling Klocwork from Hudson [message #901744] Tue, 14 August 2012 08:51 Go to next message
Eclipse UserFriend
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 #902136 is a reply to message #901744] Thu, 16 August 2012 02:17 Go to previous messageGo to next message
Eclipse UserFriend
Are permissions set up correctly? Try to ping the other machine. Also what kind of errors are you seeing? Stacktraces?
Re: Calling Klocwork from Hudson [message #903361 is a reply to message #902136] Thu, 23 August 2012 06:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Steve,

I am able to ping the machine. Packets are received and sent. When I try to invoke Klocwork from Machine-1 to Machine-2, I receive the following Error:"Host key verification failed". I have given all permissions. Yet it throws the same error.

Thanks,
Sreeram B
Re: Calling Klocwork from Hudson [message #903464 is a reply to message #903361] Thu, 23 August 2012 13:32 Go to previous message
Eclipse UserFriend
"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.
Previous Topic:Issue with Jira credentials on Hudson configuration page
Next Topic:GIT No changes on repo -> Nothing to do FAILURE
Goto Forum:
  


Current Time: Wed Jul 23 17:17:49 EDT 2025

Powered by FUDForum. Page generated in 0.04891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top