mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
Jenkins: hardware always dump pyserial debug (silently)
This commit is contained in:
@@ -73,10 +73,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/cubepilot_cubeorange_test/cubepilot_cubeorange_test.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/cubepilot_cubeorange_test/cubepilot_cubeorange_test.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -145,10 +143,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/cuav_x7pro_test/cuav_x7pro_test.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/cuav_x7pro_test/cuav_x7pro_test.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -217,10 +213,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v3_test/px4_fmu-v3_test.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v3_test/px4_fmu-v3_test.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -288,10 +282,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v4_test/px4_fmu-v4_test.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v4_test/px4_fmu-v4_test.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -360,10 +352,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v4pro_test/px4_fmu-v4pro_test.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v4pro_test/px4_fmu-v4pro_test.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -452,10 +442,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v5_debug/px4_fmu-v5_debug.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v5_debug/px4_fmu-v5_debug.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -536,10 +524,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v5_stackcheck/px4_fmu-v5_stackcheck.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v5_stackcheck/px4_fmu-v5_stackcheck.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -608,10 +594,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v5_test/px4_fmu-v5_test.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/px4_fmu-v5_test/px4_fmu-v5_test.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -680,10 +664,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
|
||||||
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
|
sh 'cat /tmp/pyserial_spy_file.txt || true'
|
||||||
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/nxp_fmuk66-v3_test/nxp_fmuk66-v3_test.elf || true'
|
sh './platforms/nuttx/Debug/jlink_gdb_backtrace_simple.sh build/nxp_fmuk66-v3_test/nxp_fmuk66-v3_test.elf || true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user