mirror of
https://github.com/simon987/task_tracker_drone.git
synced 2025-12-18 09:49:07 +00:00
Jenkins setup
This commit is contained in:
9
jenkins/deploy.sh
Executable file
9
jenkins/deploy.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DRONEROOT="task_tracker_drone"
|
||||
|
||||
screen -S tt_drone -X quit
|
||||
echo "starting drone"
|
||||
screen -S tt_drone -d -m bash -c "cd ${DRONEROOT} && source env/bin/activate && python src/tt_drone/drone.py"
|
||||
sleep 1
|
||||
screen -list
|
||||
Reference in New Issue
Block a user