Jenkins hardware linux add CCACHE_BASEDIR for rpi build

This commit is contained in:
Daniel Agar
2019-08-22 15:46:39 -04:00
committed by GitHub
parent e7e477962c
commit 331b533b3d
2 changed files with 11 additions and 4 deletions

View File

@@ -13,9 +13,9 @@ pipeline {
sh 'make distclean'
sh 'ccache -z'
sh 'git fetch --tags'
sh 'make emlid_navio2_native'
sh 'CCACHE_BASEDIR=${WORKSPACE} make emlid_navio2_native'
sh 'ccache -s'
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'
}
options {
timeout(time: 30, unit: 'MINUTES')