Jenkins CI setup

This commit is contained in:
simon987
2019-02-23 18:00:32 -05:00
parent 6bc2483968
commit d17113726e
9 changed files with 298 additions and 424 deletions

13
jenkins/deploy.sh Normal file → Executable file
View File

@@ -1,4 +1,11 @@
#!/usr/bin/env bash
#!/bin/bash
cp web/angular/dist/ /home/drone/task_tracker/webroot/
echo "test"
export TTROOT="task_tracker"
chmod 755 -R "${TTROOT}/webroot"
screen -S tt_api -X quit
echo "starting client"
screen -S tt_api -d -m bash -c "cd ${TTROOT} && ./tt_api"
sleep 1
screen -list