Fixing ssh strict host check

Change-Id: I0a10237b155f604b814ec676435170898cb50acd
(cherry picked from commit 4157d548cdcbce7f58248f49892c5a042bfcec41)
diff --git a/Jenkinsfile b/Jenkinsfile
index b0cb132..557699d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -255,7 +255,7 @@
  * @return the output of the command
  */
 def runCmd(ip, user, pass, command) {
-    return sh(returnStdout: true, script: "sshpass -p ${pass} ssh -oStrictHostKeyChecking=no -l ${user} ${ip} ${command}")
+    return sh(returnStdout: true, script: "sshpass -p ${pass} ssh -o UserKnownHostsFile=/dev/null -l ${user} ${ip} ${command}")
 }
 
 /**
@@ -274,5 +274,5 @@
     return runCmd("${haedIp}",
                   "${headUser}",
                   "${headPass}",
-                  "sshpass -p ${pass} ssh -oStrictHostKeyChecking=no -l ${user} ${ip} ${command}")
+                  "sshpass -p ${pass} ssh -o UserKnownHostsFile=/dev/null -l ${user} ${ip} ${command}")
 }
\ No newline at end of file