From 27abf83b77408c342a6a3f35adc066ee275e0c0c Mon Sep 17 00:00:00 2001 From: Gregory Hendrickson Date: Fri, 9 Jun 2023 15:48:33 -0700 Subject: [PATCH] s --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 48060db..39f225c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,7 @@ pipeline { agent any environment { - DOCKERHUB_CREDENTIALS=credentials('dockerhub-cred') + DOCKERHUB_CREDENTIALS = credentials('dockerhub-cred') } stages { @@ -44,10 +44,10 @@ pipeline { ''' // Transfer the script file to the remote host - sshPut remote: remote, from: 'run-pull-deploy.sh', into: 'run-pull-deploy.sh' + sshPut remote: remote, from: 'run-pull-deploy.sh', into: '/path/to/remote/directory/run-pull-deploy.sh' // Execute the script file on the remote host - sshCommand remote: remote, command: 'chmod +x run-pull-deploy.sh && ./run-pull-deploy.sh' + sshCommand remote: remote, command: 'chmod +x /path/to/remote/directory/run-pull-deploy.sh && /path/to/remote/directory/run-pull-deploy.sh' } } }