jenkinsfile - watch screen test 2a
This commit is contained in:
1 parent
1ab150e135
commit
4679c1629f
1 file changed
+4
-4
@@ -73,10 +73,10 @@ pipeline {
|
|||||||
cd /opt/ble-test/ble_api
|
cd /opt/ble-test/ble_api
|
||||||
git pull
|
git pull
|
||||||
# Start test in detached screen
|
# Start test in detached screen
|
||||||
screen -dmS ${env.SCREEN_SESSION} bash -c '
|
cd /opt/ble-test/ble_api/api
|
||||||
cd /opt/ble-test/ble_api/api
|
python3 -u ./ble.py ${params.test_count}
|
||||||
python3 -u ./ble.py ${params.test_count}
|
#screen -dmS ${env.SCREEN_SESSION} bash -c '
|
||||||
'
|
#'
|
||||||
echo "=== Live test output ==="
|
echo "=== Live test output ==="
|
||||||
tail -f ~/screen/S.${env.SCREEN_SESSION}
|
tail -f ~/screen/S.${env.SCREEN_SESSION}
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user