jenkinsfile change back to sleep

This commit is contained in:
matt committed 2026-10-18 04:56:14 -07:00
1 parent 0493e8c35e
commit 2e9117cacb
1 file changed
+1 -3
+1 -3
View File
@@ -85,9 +85,7 @@ pipeline {
ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF
echo === Initiating Tail Watchdog === echo === Initiating Tail Watchdog ===
screen -dmS ble_test_watchdog_${env.TEST_HASH} sh -c ' screen -dmS ble_test_watchdog_${env.TEST_HASH} sh -c '
while ! pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do sleep 15
sleep 1
done
while pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do while pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do
if ! screen -list | grep -q ble_test_${env.TEST_HASH}; then if ! screen -list | grep -q ble_test_${env.TEST_HASH}; then
pkill -9 -f "tail.*ble_test_${env.TEST_HASH}" pkill -9 -f "tail.*ble_test_${env.TEST_HASH}"