From 01cecb3289b090931c90576449efae8d6ddc1632 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 18 Oct 2026 03:18:42 -0700 Subject: [PATCH] jenkinsfile - watch screen test adding debugging things --- api/Jenkinsfile.ble_test | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index 654b6e8..e33b2ca 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -83,11 +83,13 @@ pipeline { sshagent([env.SSH_CREDENTIALS_ID]) { sh """ ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF + echo Running background termination loop I hope... ( while pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do if ! screen -list | grep -q ble_test_${env.TEST_HASH}; then pkill -9 -f "tail.*ble_test_${env.TEST_HASH}" fi + echo Hello from in the loop sleep 5 done ) &