move hub command from test script to Jenkinsfile for consistency

This commit is contained in:
grvvy
2026-02-20 13:53:23 -07:00
parent 71cfa84165
commit 161dc0a7b3
3 changed files with 4 additions and 4 deletions

4
Jenkinsfile vendored
View File

@@ -19,6 +19,8 @@ pipeline {
sh './ci-scripts/install-firmware.sh'
sh 'hubs all off'
retry(3) {
sh 'hubs hackrf_dfu reset'
sh 'sleep 1s'
sh './ci-scripts/test-host.sh'
}
sh 'hubs hackrf hackrf_dfu on'
@@ -26,6 +28,8 @@ pipeline {
sh 'python3 ci-scripts/hackrf_test.py --unattended --ci --log log --rev r4 --manufacturer --hostdir host/build/hackrf-tools/src/ --fwupdate firmware/hackrf_usb/build/ --tester 0000000000000000325866e629a25623 --eut RunningFromRAM'
sh 'hubs all off'
retry(3) {
sh 'hubs hackrf_dfu reset'
sh 'sleep 1s'
sh 'python3 ci-scripts/test-sgpio-debug.py'
}
sh 'hubs all reset'

View File

@@ -1,6 +1,4 @@
#!/bin/bash
hubs hackrf_dfu reset
sleep 1s
dfu-util --device 1fc9:000c --alt 0 --download firmware/hackrf_usb/build/hackrf_usb.dfu
sleep 1s
EXIT_CODE="$?"

View File

@@ -1,6 +1,4 @@
#!/bin/bash
hubs hackrf_dfu reset
sleep 1s
host/build/hackrf-tools/src/hackrf_info
EXIT_CODE="$?"
if [ "$EXIT_CODE" == "1" ]