jenkins - no host checking

This commit is contained in:
matt committed 2026-10-21 16:26:01 -07:00
1 parent e4aaaf477c
commit 73f089278c
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ pipeline {
sh """
cd /tmp
touch .hushlogin
scp -i /var/jenkins_home/jenkins_key .hushlogin root@${params.host_ip}:/root/.hushlogin
scp -o StrictHostKeyChecking=no -i /var/jenkins_home/jenkins_key .hushlogin root@${params.host_ip}:/root/.hushlogin
rm .hushlogin
"""