jenkins setup

This commit is contained in:
simon987
2019-03-09 09:31:19 -05:00
parent 6048cfbebc
commit fea86af41d
7 changed files with 128 additions and 48 deletions

9
jenkins/deploy.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
export WSBROOT="ws_bucket"
screen -S ws_bucket -X quit
echo "starting ws_bucket"
screen -S ws_bucket -d -m bash -c "cd ${WSBROOT} && chmod +x ws_bucket && ./ws_bucket"
sleep 1
screen -list