Fix file location

This commit is contained in:
Tom Butcher 2025-06-01 22:02:32 +01:00
parent 11fad9f518
commit f9525da7d7

2
Jenkinsfile vendored
View File

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