mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 13:15:32 +08:00
Jenkins hardware snapdragon build with CCACHE_BASEDIR and dump logs
This commit is contained in:
@@ -15,8 +15,14 @@ pipeline {
|
|||||||
sh 'git fetch --tags'
|
sh 'git fetch --tags'
|
||||||
sh 'CCACHE_BASEDIR=${WORKSPACE} make emlid_navio2_native'
|
sh 'CCACHE_BASEDIR=${WORKSPACE} make emlid_navio2_native'
|
||||||
sh 'ccache -s'
|
sh 'ccache -s'
|
||||||
|
// sanity check
|
||||||
sh 'cd build/emlid_navio2_native/ && ./bin/px4 -s ../../posix-configs/rpi/px4_test.config'
|
sh 'cd build/emlid_navio2_native/ && ./bin/px4 -s ../../posix-configs/rpi/px4_test.config'
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
sh 'make distclean'
|
||||||
|
}
|
||||||
|
}
|
||||||
options {
|
options {
|
||||||
timeout(time: 30, unit: 'MINUTES')
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,12 +13,19 @@ pipeline {
|
|||||||
sh 'make distclean'
|
sh 'make distclean'
|
||||||
sh 'ccache -z'
|
sh 'ccache -z'
|
||||||
sh 'git fetch --tags'
|
sh 'git fetch --tags'
|
||||||
sh 'make eagle_default'
|
sh 'CCACHE_BASEDIR=${WORKSPACE} make eagle_default'
|
||||||
sh 'ccache -s'
|
sh 'ccache -s'
|
||||||
// sanity check
|
// sanity check
|
||||||
sh 'adb devices'
|
sh 'adb devices'
|
||||||
sh 'make eagle_default sanity'
|
sh 'make eagle_default sanity'
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
sh 'cat boards/atlflight/eagle/scripts/px4.log'
|
||||||
|
sh 'cat boards/atlflight/eagle/scripts/minidm.log'
|
||||||
|
sh 'make distclean'
|
||||||
|
}
|
||||||
|
}
|
||||||
options {
|
options {
|
||||||
timeout(time: 30, unit: 'MINUTES')
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,8 +64,6 @@ else()
|
|||||||
|
|
||||||
add_custom_target(sanity
|
add_custom_target(sanity
|
||||||
COMMAND ./px4_snapflight_sanitytest.sh -i -t
|
COMMAND ./px4_snapflight_sanitytest.sh -i -t
|
||||||
COMMAND cat px4.log
|
|
||||||
COMMAND cat minidm.log
|
|
||||||
DEPENDS px4
|
DEPENDS px4
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripts
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripts
|
||||||
COMMENT "uploading px4"
|
COMMENT "uploading px4"
|
||||||
|
|||||||
@@ -49,13 +49,33 @@ mavlink boot_complete
|
|||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
|
ver all
|
||||||
|
sleep 1
|
||||||
commander check
|
commander check
|
||||||
|
sleep 1
|
||||||
|
dataman status
|
||||||
|
sleep 1
|
||||||
ekf2 status
|
ekf2 status
|
||||||
|
sleep 1
|
||||||
|
logger status
|
||||||
|
sleep 1
|
||||||
mavlink status
|
mavlink status
|
||||||
|
sleep 1
|
||||||
mavlink status streams
|
mavlink status streams
|
||||||
|
sleep 1
|
||||||
|
param show
|
||||||
|
sleep 1
|
||||||
|
param status
|
||||||
|
sleep 1
|
||||||
|
pwm info
|
||||||
|
sleep 1
|
||||||
sensors status
|
sensors status
|
||||||
|
sleep 1
|
||||||
perf
|
perf
|
||||||
|
sleep 1
|
||||||
perf latency
|
perf latency
|
||||||
|
sleep 1
|
||||||
uorb top -1
|
uorb top -1
|
||||||
|
sleep 1
|
||||||
|
|
||||||
shutdown
|
shutdown
|
||||||
|
|||||||
Reference in New Issue
Block a user