remove bt reset from jenkinsfile, the driver does it enough
This commit is contained in:
1 parent
6dbfef0b38
commit
f14f077b96
1 file changed
+1
-2
@@ -15,7 +15,7 @@ pipeline {
|
|||||||
parameters {
|
parameters {
|
||||||
string(name: 'host_ip', defaultValue: '172.20.20.51', description: 'IP of the host that runs the BLE test')
|
string(name: 'host_ip', defaultValue: '172.20.20.51', description: 'IP of the host that runs the BLE test')
|
||||||
string(name: 'test_count', defaultValue: '25', description: 'Number of test iterations')
|
string(name: 'test_count', defaultValue: '25', description: 'Number of test iterations')
|
||||||
string(name: 'BT_USB_ID', defaultValue: '0bda:c821', description: 'USB ID of the BLE dongle')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
@@ -66,7 +66,6 @@ pipeline {
|
|||||||
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
|
||||||
usbreset ${params.BT_USB_ID}
|
|
||||||
sleep 5
|
sleep 5
|
||||||
cd /opt/ble-test/ble_api
|
cd /opt/ble-test/ble_api
|
||||||
git pull
|
git pull
|
||||||
|
|||||||
Reference in new issue
Block a user