I use Ubuntu 10.04 in 2 virtual machines. In one machine I have installed Hudson and another machine is to run klocwork. Scenario is when I trigger a build in Hudson, the script has to run successful and call the Klocwork in VM2. In the build script I have given the following command to call Klocwork in machine 2.
if [ $Klocwork = "true" ]; then echo "Starting Klocwork Report ..." sshpass -p 'password' ssh IP-address "sudo chmod 755 /local path/build_script_kw.sh;/local path/build_script_kw.sh $SVNID $Version" fi echo "Build Successfully."
when I run the script, I get
Host key verification failed error. Please provide me a solution for this issue. Thanks.