jenkins - no host checking
This commit is contained in:
1 parent
e4aaaf477c
commit
73f089278c
1 file changed
+1
-1
@@ -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
|
||||
"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user