jenkinsfile - watch screen test 8 sanity check 3
This commit is contained in:
1 parent
aaf30a4ef5
commit
16f85e2ef5
1 file changed
+4
-6
@@ -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
|
|
||||||
"""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user