jenkinsfile - watch screen test put wrapper back to how it was
This commit is contained in:
1 parent
6fd0cdeee6
commit
db2e3576ce
1 file changed
+2
-5
@@ -82,10 +82,8 @@ 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
|
||||||
-o ServerAliveInterval=60 -o ServerAliveCountMax=120 \
|
echo Running background termination loop I hope...
|
||||||
<< 'EOF'
|
|
||||||
echo Running background termination loop I hope...
|
|
||||||
nohup sh -c '
|
nohup sh -c '
|
||||||
sleep 10
|
sleep 10
|
||||||
while pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do
|
while pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do
|
||||||
@@ -95,7 +93,6 @@ pipeline {
|
|||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
' &
|
' &
|
||||||
EOF
|
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user