From c8637237155f50702a42ad0a1a673990e7460a79 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 2 Feb 2018 00:00:36 -0500 Subject: [PATCH] Jenkins add Linux release build --- Jenkinsfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 28607510d..e08dd529a 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 { -- 2.22.0