jenkinsfile - scp needs ssh key location remove tilde

This commit is contained in:
matt committed 2026-10-21 00:33:44 -07:00
1 parent e2af55772a
commit 9eb8fd93c0
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ pipeline {
echo ==MC== Test Hash - ${env.TEST_HASH}
echo ==MC== Disabling MOTD...
touch .hushlogin
scp -i ~/.ssh/id_rsa .hushlogin root@${params.host_ip}:/root/.hushlogin
scp -i /root/.ssh/id_rsa .hushlogin root@${params.host_ip}:/root/.hushlogin
rm .hushlogin
"""