jenkinsfile - test post red herring indeed sir, well played

This commit is contained in:
matt committed 2026-10-18 04:11:24 -07:00
1 parent 7bd4e0e859
commit d9226469d6
1 file changed
+1 -6
+1 -6
View File
@@ -83,10 +83,7 @@ pipeline {
sshagent([env.SSH_CREDENTIALS_ID]) {
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} sh -c '
watch -n 1 uptime
'
echo === Initiating Tail Watchdog ===
screen -dmS ble_test_watchdog_${env.TEST_HASH} sh -c '
while ! pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do
sleep 1
@@ -131,8 +128,6 @@ pipeline {
if screen -list | grep -q ${env.TEST_HASH}; then
screen -S ble_test_watchdog_${env.TEST_HASH} -X quit
screen -S ble_test_${env.TEST_HASH} -X quit
screen -S ble_test_red_herring_${env.TEST_HASH} -X quit
fi
rm /tmp/ble_test_${env.TEST_HASH}.log
"""