jenkinsfile - watch screen test 8 sanity check 2
This commit is contained in:
1 parent
4b83796e81
commit
aaf30a4ef5
1 file changed
+6
-6
@@ -84,12 +84,12 @@ 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
|
#!/usr/bin/env bash
|
||||||
ssh -o StrictHostKeyChecking=no root@${params.host_ip} << EOF
|
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
|
EOF
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user