mirror of
https://github.com/simon987/od-database.git
synced 2025-12-15 07:39:04 +00:00
Deploy fix attempt
This commit is contained in:
7
jenkins/Jenkinsfile
vendored
7
jenkins/Jenkinsfile
vendored
@@ -16,11 +16,8 @@ pipeline {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh 'echo $ODDB_CONFIG > config.py'
|
||||
sshCommand remote: remote, command: "cd od-database && rm -rf env fold_to_ascii search static task_tracker_drone templates ws_bucket_client"
|
||||
sh 'tar -czf env.tar.gz env'
|
||||
sshPut remote: remote, from: 'env.tar.gz', into: 'od-database'
|
||||
sshCommand remote: remote, command: 'tar -xzf od-database/env.tar.gz -C od-database && rm od-database/env.tar.gz'
|
||||
sshPut remote: remote, from: 'jenkins/deploy.sh', into: 'od-database'
|
||||
sshCommand remote: remote, command: "cd od-database && rm -rf env fold_to_ascii search static task_tracker_drone templates ws_bucket_client *.py deploy.sh"
|
||||
sshPut remote: remote, from: 'requirements.txt', into: 'od-database'
|
||||
sshPut remote: remote, from: 'fold_to_ascii', into: 'od-database'
|
||||
sshPut remote: remote, from: 'search', into: 'od-database'
|
||||
sshPut remote: remote, from: 'static', into: 'od-database'
|
||||
|
||||
Reference in New Issue
Block a user