jenkinsfile - watch screen test 8 sanity check 5
This commit is contained in:
1 parent
54fe0c9b81
commit
ffef996413
1 file changed
+4
-4
@@ -85,10 +85,10 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
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} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF
|
||||||
while screen -list | grep -q ble_test_${env.TEST_HASH}; do
|
while screen -list | grep -q ble_test_${env.TEST_HASH}; do
|
||||||
tail -f /tmp/ble_test_${env.TEST_HASH}.log
|
tail -f /tmp/ble_test_${env.TEST_HASH}.log
|
||||||
done
|
done
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user