From 9bb4a1df160f736356b07efaa21424dbb69923f6 Mon Sep 17 00:00:00 2001 From: Gregory Hendrickson Date: Fri, 9 Jun 2023 16:14:32 -0700 Subject: [PATCH] syntax --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3121738..9b7bb47 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,6 +29,7 @@ pipeline { withCredentials([ sshUserPrivateKey(credentialsId: 'ssh-cred', keyFileVariable: 'identity', usernameVariable: 'userName') ]) { + remote.name = 'ubuntu-kc' remote.host = '172.16.11.90' remote.user = userName @@ -48,7 +49,6 @@ pipeline { // Execute the script file on the remote host sshCommand remote: remote, command: 'chmod +x ~/run-pull-deploy.sh && ~/run-pull-deploy.sh' } - } } } }