Jenkins fix attempt

This commit is contained in:
simon987 2019-02-23 22:33:51 -05:00
parent 9ceb5d8d4c
commit ab040ae040

7
jenkins/Jenkinsfile vendored
View File

@ -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'