jenkinsfile - watch screen test 3a - add sleep
This commit is contained in:
1 parent
1e7bb44017
commit
c5da3978df
1 file changed
+1
@@ -73,6 +73,7 @@ pipeline {
|
|||||||
cd /opt/ble-test/ble_api
|
cd /opt/ble-test/ble_api
|
||||||
git pull
|
git pull
|
||||||
cd /opt/ble-test/ble_api/api
|
cd /opt/ble-test/ble_api/api
|
||||||
|
sleep 2
|
||||||
screen -dmS ble_test_${env.TEST_HASH} bash -c "cd /opt/ble-test/ble_api/api && python3 -u ./ble.py ${params.test_count} | tee /tmp/ble_test_${env.TEST_HASH}.log"
|
screen -dmS ble_test_${env.TEST_HASH} bash -c "cd /opt/ble-test/ble_api/api && python3 -u ./ble.py ${params.test_count} | tee /tmp/ble_test_${env.TEST_HASH}.log"
|
||||||
tail -f /tmp/ble_test_${env.TEST_HASH}.log
|
tail -f /tmp/ble_test_${env.TEST_HASH}.log
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user