This commit is contained in:
Gregory Hendrickson
2023-06-09 15:48:33 -07:00
parent 87e3a85c2c
commit 27abf83b77

4
Jenkinsfile vendored
View File

@@ -44,10 +44,10 @@ pipeline {
''' '''
// Transfer the script file to the remote host // 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 // 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'
} }
} }
} }