Fixed Jenkinsfile

This commit is contained in:
Tom Butcher 2025-06-02 02:02:07 +01:00
parent 9a9b2a8326
commit 8ad0ccac5e

2
Jenkinsfile vendored
View File

@ -39,7 +39,7 @@ node {
remote.allowAnyHosts = true
// Copy the build directory to the remote server
sshPut remote: remote, from: 'build/*', into: '/srv/farmcontrol-ui/'
sshPut remote: remote, from: 'build/', into: '/srv/farmcontrol-ui/'
// Restart the service using sudo
sshCommand remote: remote, command: 'sudo /bin/systemctl restart nginx.service'