From 1ab150e13552a5268c44754f19fcc50c3d6fa484 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 18 Oct 2026 00:15:06 -0700 Subject: [PATCH] jenkinsfile - watch screen test 2 --- api/Jenkinsfile.ble_test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index 25e67d6..0c94f3d 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -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} '