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'){
|
||||
steps {
|
||||
sshagent([env.SSH_CREDENTIALS_ID]) {
|
||||
sh """
|
||||
#!/usr/bin/env bash
|
||||
ssh -o StrictHostKeyChecking=no root@${params.host_ip} << EOF
|
||||
screen -list | grep -q "ble_test_${TEST_HASH}"
|
||||
EOF
|
||||
"""
|
||||
sh """
|
||||
ssh -o StrictHostKeyChecking=no root@${params.host_ip} \
|
||||
"screen -list | grep -q 'ble_test_${TEST_HASH}'"
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user