From e6d927e9b5f6dfd3d13177c990bcb33e79f4e6b8 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 5 Feb 2018 11:35:57 -0500 Subject: [PATCH] Jenkins add Linux debug --- Jenkinsfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index e08dd529a..5cf5d639b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,22 @@ pipeline { stages { stage('build') { parallel { + stage('Linux Debug') { + agent { + docker { + image 'mavlink/qgc-build-linux' + args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw' + } + } + steps { + sh 'git submodule deinit -f .' + sh 'git clean -ff -x -d .' + sh 'git submodule update --init --recursive --force' + sh 'mkdir build; cd build; qmake -r ${WORKSPACE}/qgroundcontrol.pro CONFIG+=debug CONFIG+=WarningsAsErrorsOn' + sh 'cd build; make -j4' + sh 'ccache -s' + } + } stage('Linux Release') { agent { docker { -- 2.22.0