Jenkins hardware snapdragon build with CCACHE_BASEDIR and dump logs

This commit is contained in:
Daniel Agar
2019-08-22 16:20:39 -04:00
committed by GitHub
parent 331b533b3d
commit 3c0f4f9ace
4 changed files with 34 additions and 3 deletions
+6
View File
@@ -15,8 +15,14 @@ pipeline {
sh 'git fetch --tags'
sh 'CCACHE_BASEDIR=${WORKSPACE} make emlid_navio2_native'
sh 'ccache -s'
// sanity check
sh 'cd build/emlid_navio2_native/ && ./bin/px4 -s ../../posix-configs/rpi/px4_test.config'
}
post {
always {
sh 'make distclean'
}
}
options {
timeout(time: 30, unit: 'MINUTES')
}
+8 -1
View File
@@ -13,12 +13,19 @@ pipeline {
sh 'make distclean'
sh 'ccache -z'
sh 'git fetch --tags'
sh 'make eagle_default'
sh 'CCACHE_BASEDIR=${WORKSPACE} make eagle_default'
sh 'ccache -s'
// sanity check
sh 'adb devices'
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 {
timeout(time: 30, unit: 'MINUTES')
}
-2
View File
@@ -64,8 +64,6 @@ else()
add_custom_target(sanity
COMMAND ./px4_snapflight_sanitytest.sh -i -t
COMMAND cat px4.log
COMMAND cat minidm.log
DEPENDS px4
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripts
COMMENT "uploading px4"
+20
View File
@@ -49,13 +49,33 @@ mavlink boot_complete
sleep 5
ver all
sleep 1
commander check
sleep 1
dataman status
sleep 1
ekf2 status
sleep 1
logger status
sleep 1
mavlink status
sleep 1
mavlink status streams
sleep 1
param show
sleep 1
param status
sleep 1
pwm info
sleep 1
sensors status
sleep 1
perf
sleep 1
perf latency
sleep 1
uorb top -1
sleep 1
shutdown