From 3c8ebbcce55a064c3ef8b05d3c4e6233e1c027c6 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 18 Oct 2026 03:20:22 -0700 Subject: [PATCH] jenkinsfile - watch screen test sleep before starting kill loop --- api/Jenkinsfile.ble_test | 1 + 1 file changed, 1 insertion(+) diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index e33b2ca..1b320da 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -85,6 +85,7 @@ pipeline { ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF echo Running background termination loop I hope... ( + sleep 10 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}"