2019-02-26 20:22:16 -04:00
|
|
|
#!/usr/bin/env groovy
|
|
|
|
|
2018-08-17 10:28:51 -03:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
|
|
|
|
|
|
|
stage('Build') {
|
|
|
|
|
|
|
|
parallel {
|
|
|
|
|
2019-02-27 00:03:24 -04:00
|
|
|
stage('px4_fmu-v2_test') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2019-03-09 00:17:06 -04:00
|
|
|
image 'px4io/px4-dev-nuttx:2019-03-08'
|
2019-02-27 00:03:24 -04:00
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'export'
|
|
|
|
sh 'make distclean'
|
|
|
|
sh 'ccache -z'
|
|
|
|
sh 'git fetch --tags'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'make px4_fmu-v2_test'
|
2019-02-27 00:03:24 -04:00
|
|
|
sh 'make sizes'
|
|
|
|
sh 'ccache -s'
|
2019-06-15 13:03:37 -03:00
|
|
|
stash includes: 'build/px4_fmu-v2_test/px4_fmu-v2_test.elf', name: 'px4_fmu-v2_test'
|
2019-02-27 00:03:24 -04:00
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
sh 'make distclean'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-26 20:22:16 -04:00
|
|
|
stage('px4_fmu-v3_default') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2019-03-09 00:17:06 -04:00
|
|
|
image 'px4io/px4-dev-nuttx:2019-03-08'
|
2019-02-26 20:22:16 -04:00
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'export'
|
|
|
|
sh 'make distclean'
|
|
|
|
sh 'ccache -z'
|
|
|
|
sh 'git fetch --tags'
|
|
|
|
sh 'make px4_fmu-v3_default'
|
|
|
|
sh 'make sizes'
|
|
|
|
sh 'ccache -s'
|
|
|
|
stash includes: 'build/px4_fmu-v3_default/px4_fmu-v3_default.elf', name: 'px4_fmu-v3_default'
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
sh 'make distclean'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-05 21:33:38 -04:00
|
|
|
stage('px4_fmu-v4_default') {
|
2018-08-17 10:28:51 -03:00
|
|
|
agent {
|
|
|
|
docker {
|
2019-03-09 00:17:06 -04:00
|
|
|
image 'px4io/px4-dev-nuttx:2019-03-08'
|
2018-08-17 10:28:51 -03:00
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'export'
|
|
|
|
sh 'make distclean'
|
|
|
|
sh 'ccache -z'
|
|
|
|
sh 'git fetch --tags'
|
2019-01-05 21:33:38 -04:00
|
|
|
sh 'make px4_fmu-v4_default'
|
2018-08-17 10:28:51 -03:00
|
|
|
sh 'make sizes'
|
|
|
|
sh 'ccache -s'
|
2019-01-05 21:33:38 -04:00
|
|
|
stash includes: 'build/px4_fmu-v4_default/px4_fmu-v4_default.elf', name: 'px4_fmu-v4_default'
|
2019-02-26 20:22:16 -04:00
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
sh 'make distclean'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('px4_fmu-v4pro_default') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2019-03-09 00:17:06 -04:00
|
|
|
image 'px4io/px4-dev-nuttx:2019-03-08'
|
2019-02-26 20:22:16 -04:00
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'export'
|
|
|
|
sh 'make distclean'
|
|
|
|
sh 'ccache -z'
|
|
|
|
sh 'git fetch --tags'
|
|
|
|
sh 'make px4_fmu-v4pro_default'
|
|
|
|
sh 'make sizes'
|
|
|
|
sh 'ccache -s'
|
|
|
|
stash includes: 'build/px4_fmu-v4pro_default/px4_fmu-v4pro_default.elf', name: 'px4_fmu-v4pro_default'
|
2018-08-25 15:59:33 -03:00
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
sh 'make distclean'
|
|
|
|
}
|
2018-08-17 10:28:51 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-27 00:03:24 -04:00
|
|
|
stage('px4_fmu-v5_default') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2019-03-09 00:17:06 -04:00
|
|
|
image 'px4io/px4-dev-nuttx:2019-03-08'
|
2019-02-27 00:03:24 -04:00
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'export'
|
|
|
|
sh 'make distclean'
|
|
|
|
sh 'ccache -z'
|
|
|
|
sh 'git fetch --tags'
|
|
|
|
sh 'make px4_fmu-v5_default'
|
|
|
|
sh 'make sizes'
|
|
|
|
sh 'ccache -s'
|
|
|
|
stash includes: 'build/px4_fmu-v5_default/px4_fmu-v5_default.elf', name: 'px4_fmu-v5_default'
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
sh 'make distclean'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('px4_fmu-v5_stackcheck') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2019-03-09 00:17:06 -04:00
|
|
|
image 'px4io/px4-dev-nuttx:2019-03-08'
|
2019-02-27 00:03:24 -04:00
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'export'
|
|
|
|
sh 'make distclean'
|
|
|
|
sh 'ccache -z'
|
|
|
|
sh 'git fetch --tags'
|
|
|
|
sh 'make px4_fmu-v5_stackcheck'
|
|
|
|
sh 'make sizes'
|
|
|
|
sh 'ccache -s'
|
|
|
|
stash includes: 'build/px4_fmu-v5_stackcheck/px4_fmu-v5_stackcheck.elf', name: 'px4_fmu-v5_stackcheck'
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
sh 'make distclean'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-14 00:11:42 -03:00
|
|
|
stage('nxp_fmuk66-v3_default') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'px4io/px4-dev-nuttx:2019-03-08'
|
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'export'
|
|
|
|
sh 'make distclean'
|
|
|
|
sh 'ccache -z'
|
|
|
|
sh 'git fetch --tags'
|
|
|
|
sh 'make nxp_fmuk66-v3_default'
|
|
|
|
sh 'make sizes'
|
|
|
|
sh 'ccache -s'
|
|
|
|
stash includes: 'build/nxp_fmuk66-v3_default/nxp_fmuk66-v3_default.elf', name: 'nxp_fmuk66-v3_default'
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
sh 'make distclean'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-17 10:28:51 -03:00
|
|
|
} // parallel
|
|
|
|
} // stage Build
|
|
|
|
|
|
|
|
stage('Flash and Run') {
|
|
|
|
|
|
|
|
parallel {
|
|
|
|
|
2019-02-27 00:03:24 -04:00
|
|
|
stage('px4_fmu-v2_test') {
|
|
|
|
agent {
|
|
|
|
label 'px4_fmu-v2'
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
try {
|
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v2_test'
|
2019-02-27 19:42:54 -04:00
|
|
|
sh 'platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v2_test/px4_fmu-v2_test.elf'
|
2019-03-14 00:11:42 -03:00
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
|
|
|
//sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-02-27 00:03:24 -04:00
|
|
|
} catch (Exception err) {
|
|
|
|
// always report passed for now
|
|
|
|
currentBuild.result = 'SUCCESS'
|
|
|
|
}
|
|
|
|
} // script
|
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-02-27 00:03:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('px4_fmu-v3_default') {
|
2019-02-26 20:22:16 -04:00
|
|
|
agent {
|
|
|
|
label 'px4_fmu-v3'
|
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v3_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh './platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v3_default/px4_fmu-v3_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
|
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-02-26 20:22:16 -04:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-02-26 20:22:16 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-27 00:03:24 -04:00
|
|
|
stage('px4_fmu-v4_default') {
|
2018-08-17 10:28:51 -03:00
|
|
|
agent {
|
2019-02-26 19:33:42 -04:00
|
|
|
label 'px4_fmu-v4'
|
2018-08-17 10:28:51 -03:00
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v4_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh 'platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v4_default/px4_fmu-v4_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
|
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2018-08-17 10:28:51 -03:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2018-08-17 10:28:51 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-27 00:03:24 -04:00
|
|
|
stage('px4_fmu-v4pro_default') {
|
2019-02-26 20:22:16 -04:00
|
|
|
agent {
|
|
|
|
label 'px4_fmu-v4pro'
|
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v4pro_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh 'platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v4pro_default/px4_fmu-v4pro_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
|
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-02-27 00:03:24 -04:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-02-27 00:03:24 -04:00
|
|
|
}
|
|
|
|
}
|
2019-06-14 14:13:00 -03:00
|
|
|
|
|
|
|
stage('px4_fmu-v5_default (pixhawk 4)') {
|
|
|
|
agent {
|
|
|
|
label 'pixhawk_4'
|
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v5_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh './platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v5_default/px4_fmu-v5_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
|
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('px4_fmu-v5_default (pixhawk 4 mini)') {
|
|
|
|
agent {
|
|
|
|
label 'pixhawk_4_mini'
|
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v5_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh './platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v5_default/px4_fmu-v5_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
|
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('px4_fmu-v5_default (CUAV V5 Nano)') {
|
|
|
|
agent {
|
|
|
|
label 'cuav_v5_nano'
|
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v5_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh './platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v5_default/px4_fmu-v5_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
|
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('px4_fmu-v5_default (CUAV V5+)') {
|
|
|
|
agent {
|
|
|
|
label 'cuav_v5_plus'
|
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v5_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh './platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v5_default/px4_fmu-v5_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param set CBRK_BUZZER 782097"' // disable buzzer
|
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 15:43:36 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-06-14 14:13:00 -03:00
|
|
|
}
|
|
|
|
}
|
2019-02-27 00:03:24 -04:00
|
|
|
|
2019-02-28 16:48:18 -04:00
|
|
|
stage('px4_fmu-v5_stackcheck') {
|
|
|
|
agent {
|
|
|
|
label 'px4_fmu-v5'
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
try {
|
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'px4_fmu-v5_stackcheck'
|
|
|
|
sh './platforms/nuttx/Debug/jlink_gdb_upload.sh build/px4_fmu-v5_stackcheck/px4_fmu-v5_stackcheck.elf'
|
2019-03-14 00:11:42 -03:00
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 12:09:21 -03:00
|
|
|
// sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`' // TODO: currently unusably slow
|
2019-03-14 00:11:42 -03:00
|
|
|
} catch (Exception err) {
|
|
|
|
// always report passed for now
|
|
|
|
currentBuild.result = 'SUCCESS'
|
|
|
|
}
|
|
|
|
} // script
|
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-03-14 00:11:42 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('nxp_fmuk66-v3_default') {
|
|
|
|
agent {
|
|
|
|
label 'nxp_fmuk66-v3'
|
|
|
|
}
|
|
|
|
steps {
|
2019-06-15 13:03:37 -03:00
|
|
|
sh 'export'
|
|
|
|
sh 'find /dev/serial'
|
|
|
|
unstash 'nxp_fmuk66-v3_default'
|
|
|
|
// flash board and watch bootup
|
|
|
|
sh './platforms/nuttx/Debug/jlink_gdb_upload.sh build/nxp_fmuk66-v3_default/nxp_fmuk66-v3_default.elf'
|
|
|
|
sh './Tools/HIL/monitor_firmware_upload.py --device `find /dev/serial -name *usb-FTDI_*` --baudrate 57600'
|
2019-06-15 17:21:53 -03:00
|
|
|
// status commands
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dataman status"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "dmesg"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "fmu status"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "free"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /dev"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ls /obj"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mavlink status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "mtd status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param show"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "param status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf latency"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "perf"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ps"'
|
2019-06-15 17:21:53 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "pwm info"'
|
2019-06-15 13:03:37 -03:00
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "sensors status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "top once"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "uorb status"'
|
|
|
|
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-FTDI_*` --cmd "ver all"'
|
|
|
|
// run tests
|
|
|
|
sh './Tools/HIL/run_tests.py --device `find /dev/serial -name *usb-FTDI_*`'
|
2019-02-28 16:48:18 -04:00
|
|
|
}
|
|
|
|
options {
|
2019-07-09 21:39:00 -03:00
|
|
|
timeout(time: 20, unit: 'MINUTES')
|
2019-02-28 16:48:18 -04:00
|
|
|
}
|
|
|
|
}
|
2019-02-27 00:03:24 -04:00
|
|
|
|
2018-08-17 10:28:51 -03:00
|
|
|
} // parallel
|
|
|
|
} // stage Flash
|
|
|
|
|
|
|
|
} // stages
|
|
|
|
environment {
|
|
|
|
CCACHE_DIR = '/tmp/ccache'
|
|
|
|
CI = true
|
|
|
|
}
|
|
|
|
options {
|
2019-02-24 13:13:15 -04:00
|
|
|
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30'))
|
2018-08-17 10:28:51 -03:00
|
|
|
timeout(time: 60, unit: 'MINUTES')
|
|
|
|
}
|
|
|
|
}
|