From ba1ccff7825d55bbca240b572069f92a504346dc Mon Sep 17 00:00:00 2001 From: PX4 Build Bot Date: Tue, 30 Jan 2018 17:58:19 -0500 Subject: [PATCH] ccache setup and stats --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index c73d958c9..72b301317 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,6 +8,7 @@ pipeline { node { label 'mac' } + } environment { QT_FATAL_WARNINGS = '1' @@ -20,6 +21,7 @@ pipeline { sh 'rm -rf ${SHADOW_BUILD_DIR}; mkdir -p ${SHADOW_BUILD_DIR}' sh 'cd ${SHADOW_BUILD_DIR}; ~/Qt/5.9.3/clang_64/bin/qmake -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=release CONFIG+=WarningsAsErrorsOn' sh 'cd ${SHADOW_BUILD_DIR}; make -j24' + sh 'ccache -s' } } } @@ -27,5 +29,7 @@ pipeline { } environment { SHADOW_BUILD_DIR = '/tmp/jenkins/shadow_build_dir' + CCACHE_CPP2 = '1' + CCACHE_BASEDIR = '${WORKSPACE}' } } \ No newline at end of file -- 2.22.0