Fixed Jenkinsfile
This commit is contained in:
parent
9a9b2a8326
commit
8ad0ccac5e
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user