jenkinsfile - watch screen test 7e new ssh method

This commit is contained in:
matt committed 2026-10-18 02:07:18 -07:00
1 parent 59a7717be8
commit b85b33a812
1 file changed
+2 -1
+2 -1
View File
@@ -85,7 +85,7 @@ pipeline {
steps { steps {
sshagent([env.SSH_CREDENTIALS_ID]) { sshagent([env.SSH_CREDENTIALS_ID]) {
sh '''#!/usr/bin/env bash sh '''#!/usr/bin/env bash
ssh -o StrictHostKeyChecking=no root@${params.host_ip} << EOF ssh -o StrictHostKeyChecking=no root@${params.host_ip} << 'EOF'
set -euo pipefail set -euo pipefail
# 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
@@ -94,6 +94,7 @@ pipeline {
echo "$line" echo "$line"
done done
done done
'EOF'
''' '''
//sh """ //sh """