jenkinsfile - watch screen test 8 sanity check 4
This commit is contained in:
1 parent
16f85e2ef5
commit
54fe0c9b81
1 file changed
+3
-1
@@ -86,7 +86,9 @@ pipeline {
|
|||||||
sshagent([env.SSH_CREDENTIALS_ID]) {
|
sshagent([env.SSH_CREDENTIALS_ID]) {
|
||||||
sh """
|
sh """
|
||||||
ssh -o StrictHostKeyChecking=no root@${params.host_ip} \
|
ssh -o StrictHostKeyChecking=no root@${params.host_ip} \
|
||||||
"screen -list | grep -q 'ble_test_${TEST_HASH}'"
|
while screen -list | grep -q ble_test_${env.TEST_HASH}; do
|
||||||
|
tail -f /tmp/ble_test_${env.TEST_HASH}.log
|
||||||
|
done
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user