diff --git a/Jenkinsfile b/Jenkinsfile index 28607510dbf884aa3adccc412c3554cbebb0e9e7..e08dd529aa561545a391347fff677d30628db6f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,22 @@ pipeline { stages { stage('build') { parallel { + stage('Linux Release') { + 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+=release CONFIG+=WarningsAsErrorsOn' + sh 'cd build; make -j4' + sh 'ccache -s' + } + } stage('OSX Debug') { agent { node {