From 4b83796e8140c8636c1ddafc04d0c53a21032f55 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 18 Oct 2026 02:37:01 -0700 Subject: [PATCH] jenkinsfile - watch screen test 8 sanity check --- api/Jenkinsfile.ble_test | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index 88dd612..7496dea 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -87,16 +87,8 @@ pipeline { sh """ #!/usr/bin/env bash ssh -o StrictHostKeyChecking=no root@${params.host_ip} << EOF - set -euo pipefail - # Loop while the screen session exists - while screen -list | grep -q "ble_test_${TEST_HASH}"; do - # Tail the file and strip Windows CR before printing - tail -n +1 -f "/tmp/ble_test_${env.TEST_HASH}.log" | - while IFS= read -r line; do - printf '%s\\n' "\$line" - done - done - EOF + screen -list | grep -q "ble_test_${TEST_HASH}" + EOF """ } }