jenkinsfile - watch screen test 8 sanity check 3

This commit is contained in:
matt committed 2026-10-18 02:41:23 -07:00
1 parent aaf30a4ef5
commit 16f85e2ef5
1 file changed
+4 -6
+4 -6
View File
@@ -84,12 +84,10 @@ pipeline {
stage('View Test Logs'){ stage('View Test Logs'){
steps { steps {
sshagent([env.SSH_CREDENTIALS_ID]) { sshagent([env.SSH_CREDENTIALS_ID]) {
sh """ sh """
#!/usr/bin/env bash ssh -o StrictHostKeyChecking=no root@${params.host_ip} \
ssh -o StrictHostKeyChecking=no root@${params.host_ip} << EOF "screen -list | grep -q 'ble_test_${TEST_HASH}'"
screen -list | grep -q "ble_test_${TEST_HASH}" """
EOF
"""
} }
} }
} }