Jenkins HIL remove px4_fmu-v4_optimized

- this was interesting to monitor, but slows down the entire build with only one pixracer on the test rack
This commit is contained in:
Daniel Agar 2020-04-13 13:48:28 -04:00 committed by GitHub
parent 66eacd24bc
commit 60836eabd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 73 deletions

View File

@ -217,79 +217,6 @@ pipeline {
}
}
stage("px4_fmu-v4_optimized") {
stages {
stage("build px4_fmu-v4_optimized") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v4_optimized'
sh 'make sizes'
sh 'ccache -s'
stash includes: 'build/px4_fmu-v4_optimized/px4_fmu-v4_optimized.elf', name: 'px4_fmu-v4_optimized'
}
post {
always {
sh 'make distclean'
}
}
} // stage build
stage("test") {
agent {
label 'px4_fmu-v4'
}
stages {
stage("flash") {
steps {
sh 'export'
sh 'find /dev/serial'
unstash 'px4_fmu-v4_optimized'
// flash board and watch bootup
sh './platforms/nuttx/Debug/upload_jlink_gdb.sh build/px4_fmu-v4_optimized/px4_fmu-v4_optimized.elf'
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
}
}
stage("configure") {
steps {
// configure
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set SYS_AUTOSTART 4001"' // generic multicopter
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param save"'
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "reboot"' // reboot to apply
}
}
stage("status") {
steps {
statusFTDI()
}
}
stage("tests") {
steps {
// run tests
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
}
}
stage("reset") {
steps {
cleanupFTDI();
}
}
}
options {
timeout(time: 60, unit: 'MINUTES')
}
} // stage test
}
}
stage("px4_fmu-v4pro_default") {
stages {
stage("build px4_fmu-v4pro_default") {