jenkinsfile - watch screen test 3b - move sleep
This commit is contained in:
1 parent
e59ea82a11
commit
3330b18c31
1 file changed
+1
-1
@@ -71,8 +71,8 @@ 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"
|
||||||
|
sleep 2
|
||||||
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