diff --git a/Jenkinsfile b/Jenkinsfile index e08dd529aa561545a391347fff677d30628db6f6..5cf5d639bcf18be480aadfb4b4682c9d06695889 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 {