jenkinsfile - watch screen test 2

This commit is contained in:
matt committed 2026-10-18 00:15:06 -07:00
1 parent 95f3252318
commit 1ab150e135
1 file changed
+4 -4
+4 -4
View File
@@ -68,12 +68,12 @@ pipeline {
sshagent([env.SSH_CREDENTIALS_ID]) {
sh """
ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF
usbreset ${params.BT_USB_ID}
sleep 5
cd /opt/ble-test/ble_api
git pull
# Start test in detached screen
screen -dmS ${env.SCREEN_SESSION} bash -c '
usbreset ${params.BT_USB_ID}
sleep 5
cd /opt/ble-test/ble_api
git pull
cd /opt/ble-test/ble_api/api
python3 -u ./ble.py ${params.test_count}
'