From 019feecb03b7a5db36656c4985a7bec3122ff96d Mon Sep 17 00:00:00 2001 From: simon987 Date: Sun, 24 Mar 2019 21:40:57 -0400 Subject: [PATCH] Jenkins tweaks --- jenkins/build.sh | 1 + jenkins/deploy.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/jenkins/build.sh b/jenkins/build.sh index 2bfa054..cf89b16 100755 --- a/jenkins/build.sh +++ b/jenkins/build.sh @@ -5,5 +5,6 @@ source env/bin/activate python --version pip install -r requirements.txt +git submodule init git submodule update --remote --recursive deactivate diff --git a/jenkins/deploy.sh b/jenkins/deploy.sh index e86fd0d..5fe4b18 100755 --- a/jenkins/deploy.sh +++ b/jenkins/deploy.sh @@ -3,6 +3,7 @@ export ODDBROOT="od-database" screen -S oddb_web -X quit +killall -9 uwsgi echo "starting oddb_web" screen -S oddb_web -d -m bash -c "cd ${ODDBROOT} && uwsgi od-database.ini" sleep 1