mirror of
https://github.com/simon987/ws_bucket.git
synced 2025-12-18 00:59:04 +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 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
|
||||
Reference in New Issue
Block a user