diff --git a/Jenkinsfile b/Jenkinsfile index 72b301317675a555b5b457879e4ad177c722dd35..0eec8a0a0134893cbf1fee6af31dc805209474a1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,6 @@ pipeline { node { label 'mac' } - } environment { QT_FATAL_WARNINGS = '1' @@ -19,8 +18,8 @@ pipeline { sh 'git clean -ff -x -d .' sh 'git submodule update --init --recursive --force' 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 'cd ${SHADOW_BUILD_DIR}; ${QT_BIN_PATH}/5.9.3/clang_64/bin/qmake -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=release CONFIG+=WarningsAsErrorsOn' + sh 'cd ${SHADOW_BUILD_DIR}; make -j`sysctl -n hw.ncpu`' sh 'ccache -s' } }