From 5def17b1af65c29bd07f85b514bbd5f6df74fc5d Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 6 Sep 2021 10:28:52 -0400 Subject: [PATCH] Jenkins: hardware remove boards that aren't present --- .ci/Jenkinsfile-hardware | 147 --------------------------------------- 1 file changed, 147 deletions(-) diff --git a/.ci/Jenkinsfile-hardware b/.ci/Jenkinsfile-hardware index 4ae8c92aae..580dc1e847 100644 --- a/.ci/Jenkinsfile-hardware +++ b/.ci/Jenkinsfile-hardware @@ -673,153 +673,6 @@ pipeline { } } - stage("modalai_fc-v1_test") { - stages { - stage("build modalai_fc-v1_test") { - agent { - docker { - image 'px4io/px4-dev-nuttx-focal:2021-04-29' - args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' - } - } - steps { - checkout scm - sh 'export' - sh 'make distclean' - sh 'ccache -s' - sh 'git fetch --tags' - sh 'make modalai_fc-v1_test' - sh 'make sizes' - sh 'ccache -s' - stash includes: 'build/*/*.elf, platforms/nuttx/Debug/upload_jlink_gdb.sh, Tools/HIL/*.py', name: 'modalai_fc-v1_test' - } - post { - always { - sh 'make distclean' - } - } - } // stage build - stage("test") { - agent { - label 'modalai_fc-v1' - } - stages { - stage("flash") { - steps { - sh 'export' - sh 'find /dev/serial' - unstash 'modalai_fc-v1_test' - // flash board and watch bootup - sh './platforms/nuttx/Debug/upload_jlink_gdb.sh build/modalai_fc-v1_test/modalai_fc-v1_test.elf && ./Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-*` --baudrate 57600' - } - } - stage("configure") { - steps { - // configure - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param set SYS_AUTOSTART 4001"' // generic quadcopter - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param set SYS_BL_UPDATE 1"' // update bootloader - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param save"' - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param status"' - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "reboot" || true' // reboot to apply - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param show"' - } - } - stage("status") { - steps { - statusFTDI() - } - } - stage("tests") { - steps { - // run tests - sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-*`' - } - } - stage("reset") { - steps { - cleanupFTDI() - } - } - } - } // stage test - } - } - - stage("holybro_durandal-v1_test") { - stages { - stage("build holybro_durandal-v1_test") { - agent { - docker { - image 'px4io/px4-dev-nuttx-focal:2021-04-29' - args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' - } - } - steps { - checkout scm - sh 'export' - sh 'make distclean' - sh 'ccache -s' - sh 'git fetch --tags' - sh 'make holybro_durandal-v1_test' - sh 'make sizes' - sh 'ccache -s' - stash includes: 'build/*/*.elf, platforms/nuttx/Debug/upload_jlink_gdb.sh, Tools/HIL/*.py', name: 'holybro_durandal-v1_test' - } - post { - always { - sh 'make distclean' - } - } - } // stage build - stage("test") { - agent { - label 'holybro_durandal-v1' - } - stages { - stage("flash") { - steps { - sh 'export' - sh 'find /dev/serial' - unstash 'holybro_durandal-v1_test' - // flash board and watch bootup - sh './platforms/nuttx/Debug/upload_jlink_gdb.sh build/holybro_durandal-v1_test/holybro_durandal-v1_test.elf && ./Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-*` --baudrate 57600' - } - } - stage("configure") { - steps { - // configure - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param set SYS_AUTOSTART 4001"' // generic quadcopter - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param set SYS_BL_UPDATE 1"' // update bootloader - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param save"' - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param status"' - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "reboot" || true' // reboot to apply - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param show"' - } - } - stage("status") { - steps { - sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "dshot status"' - statusFTDI() - } - } - stage("tests") { - steps { - // run tests - sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-*`' - } - } - stage("reset") { - steps { - cleanupFTDI() - } - } - } - } // stage test - } - } - stage("nxp_fmuk66-v3_test") { stages { stage("build nxp_fmuk66-v3_test") {