Fix file location
This commit is contained in:
parent
11fad9f518
commit
f9525da7d7
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user