mirror of
https://github.com/simon987/task_tracker.git
synced 2025-04-18 01:46:45 +00:00
Jenkins fix attempt
This commit is contained in:
parent
9ceb5d8d4c
commit
ab040ae040
7
jenkins/Jenkinsfile
vendored
7
jenkins/Jenkinsfile
vendored
@ -64,9 +64,10 @@ pipeline {
|
||||
node('master') {
|
||||
unstash 'webdist'
|
||||
unstash 'apidist'
|
||||
sshPut remote: remote, from: 'tt_api', into: 'task_tracker/'
|
||||
sshPut remote: remote, from: 'config.yml', into: 'task_tracker/'
|
||||
sshPut remote: remote, from: 'schema.sql', into: 'task_tracker/'
|
||||
sshCommand remote: remote, command: "rm -rf tt_api config.yml schema.sql webroot deploy.sh"
|
||||
sshPut remote: remote, from: 'tt_api', into: 'task_tracker/tt_api'
|
||||
sshPut remote: remote, from: 'config.yml', into: 'task_tracker/config.yml'
|
||||
sshPut remote: remote, from: 'schema.sql', into: 'task_tracker/schema.sql'
|
||||
sshPut remote: remote, from: 'webroot/', into: 'task_tracker'
|
||||
sshPut remote: remote, from: 'jenkins/deploy.sh', into: 'task_tracker/'
|
||||
sshCommand remote: remote, command: 'chmod +x task_tracker/deploy.sh && ./task_tracker/deploy.sh'
|
||||
|
Loading…
x
Reference in New Issue
Block a user