jenkinsfile - use correct rsa key
This commit is contained in:
1 parent
7c0ef91bc3
commit
947a6d61a4
1 file changed
+1
-1
@@ -42,7 +42,7 @@ pipeline {
|
||||
sh """
|
||||
cd /tmp
|
||||
touch .hushlogin
|
||||
scp -i /root/.ssh/id_rsa .hushlogin root@${params.host_ip}:/root/.hushlogin
|
||||
scp -i /var/jenkins_home/jenkins_key .hushlogin root@${params.host_ip}:/root/.hushlogin
|
||||
rm .hushlogin
|
||||
"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user