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

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')
}