jenkinsfile remove timeout and retries
This commit is contained in:
1 parent
77b78020c4
commit
e59ea82a11
1 file changed
-4
@@ -63,8 +63,6 @@ pipeline {
|
|||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
stage('Run BLE Test') {
|
stage('Run BLE Test') {
|
||||||
steps {
|
steps {
|
||||||
retry(3) { // 3× retry on transient SSH hiccups
|
|
||||||
timeout(time: 5, unit: 'MINUTES') { // 5-minute hard timeout
|
|
||||||
sshagent([env.SSH_CREDENTIALS_ID]) {
|
sshagent([env.SSH_CREDENTIALS_ID]) {
|
||||||
sh """
|
sh """
|
||||||
ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF
|
ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF
|
||||||
@@ -81,8 +79,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
// Post‑build cleanup - kill the remote screen session
|
// Post‑build cleanup - kill the remote screen session
|
||||||
|
|||||||
Reference in new issue
Block a user