mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 20:28:37 +08:00
Jenkins hardware temporarily remove px4_fmu-v2
This commit is contained in:
+51
-51
@@ -7,57 +7,57 @@ pipeline {
|
|||||||
|
|
||||||
parallel {
|
parallel {
|
||||||
|
|
||||||
stage("px4_fmu-v2_test") {
|
// stage("px4_fmu-v2_test") {
|
||||||
stages {
|
// stages {
|
||||||
stage("build px4_fmu-v2_test") {
|
// stage("build px4_fmu-v2_test") {
|
||||||
agent {
|
// agent {
|
||||||
docker {
|
// docker {
|
||||||
image 'px4io/px4-dev-nuttx-focal:2020-09-14'
|
// image 'px4io/px4-dev-nuttx-focal:2020-09-14'
|
||||||
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
// args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
steps {
|
// steps {
|
||||||
sh 'export'
|
// sh 'export'
|
||||||
sh 'make distclean'
|
// sh 'make distclean'
|
||||||
sh 'ccache -s'
|
// sh 'ccache -s'
|
||||||
sh 'git fetch --tags'
|
// sh 'git fetch --tags'
|
||||||
sh 'make px4_fmu-v2_test'
|
// sh 'make px4_fmu-v2_test'
|
||||||
sh 'make sizes'
|
// sh 'make sizes'
|
||||||
sh 'ccache -s'
|
// sh 'ccache -s'
|
||||||
stash includes: 'build/px4_fmu-v2_test/px4_fmu-v2_test.elf', name: 'px4_fmu-v2_test'
|
// stash includes: 'build/px4_fmu-v2_test/px4_fmu-v2_test.elf', name: 'px4_fmu-v2_test'
|
||||||
}
|
// }
|
||||||
post {
|
// post {
|
||||||
always {
|
// always {
|
||||||
sh 'make distclean'
|
// sh 'make distclean'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
} // stage build
|
// } // stage build
|
||||||
stage("test") {
|
// stage("test") {
|
||||||
agent {
|
// agent {
|
||||||
label 'px4_fmu-v2'
|
// label 'px4_fmu-v2'
|
||||||
}
|
// }
|
||||||
stages {
|
// stages {
|
||||||
stage("flash") {
|
// stage("flash") {
|
||||||
steps {
|
// steps {
|
||||||
sh 'export'
|
// sh 'export'
|
||||||
sh 'find /dev/serial'
|
// sh 'find /dev/serial'
|
||||||
unstash 'px4_fmu-v2_test'
|
// unstash 'px4_fmu-v2_test'
|
||||||
// flash board and watch bootup
|
// // flash board and watch bootup
|
||||||
sh './platforms/nuttx/Debug/upload_jlink_gdb.sh build/px4_fmu-v2_test/px4_fmu-v2_test.elf && ./Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
// sh './platforms/nuttx/Debug/upload_jlink_gdb.sh build/px4_fmu-v2_test/px4_fmu-v2_test.elf && ./Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
stage("reset") {
|
// stage("reset") {
|
||||||
steps {
|
// steps {
|
||||||
cleanupFTDI();
|
// cleanupFTDI();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
options {
|
// options {
|
||||||
timeout(time: 90, unit: 'MINUTES')
|
// timeout(time: 90, unit: 'MINUTES')
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
stage("px4_fmu-v3_default") {
|
stage("px4_fmu-v3_default") {
|
||||||
stages {
|
stages {
|
||||||
|
|||||||
Reference in New Issue
Block a user