jenkinsfile - test post screen kill functions 2

This commit is contained in:
matt committed 2026-10-18 04:08:12 -07:00
1 parent 642e349afc
commit 7bd4e0e859
1 file changed
+3 -1
+3 -1
View File
@@ -84,7 +84,9 @@ pipeline {
sh """
ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF
echo Initiating Tail Watchdog
screen -dms ble_test_red_herring_${env.TEST_HASH}
screen -dms ble_test_red_herring_${env.TEST_HASH} sh -c '
watch -n 1 uptime
'
screen -dmS ble_test_watchdog_${env.TEST_HASH} sh -c '
while ! pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do
sleep 1