jenkinsfile - watch screen test 7i new ssh method

This commit is contained in:
matt committed 2026-10-18 02:14:55 -07:00
1 parent 04706e4647
commit 693a152553
1 file changed
+4 -3
+4 -3
View File
@@ -91,9 +91,10 @@ pipeline {
# Loop while the screen session exists # Loop while the screen session exists
while screen -list | grep -q "ble_test_${TEST_HASH}"; do while screen -list | grep -q "ble_test_${TEST_HASH}"; do
# Tail the file and flush each line immediately # Tail the file and flush each line immediately
tail -n +1 -f "/tmp/ble_test_${env.TEST_HASH}.log" | while IFS= read -r line; do tail -n +1 -f "/tmp/ble_test_\\${env.TEST_HASH}.log" |
printf '%s\n' "$line" while IFS= read -r line; do
done printf '%s\\n' "\\${line}"
done
done done
EOF EOF
""" """