From ad4bd6b0d6b7737233cc9fd0e2eee696744b26c5 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Wed, 22 Aug 2018 20:37:52 -0400 Subject: [PATCH] Jenkins add separate Ubuntu 18.04 posix_sitl_default build --- .ci/Jenkinsfile-compile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.ci/Jenkinsfile-compile b/.ci/Jenkinsfile-compile index c975147787..f97e28a5d9 100644 --- a/.ci/Jenkinsfile-compile +++ b/.ci/Jenkinsfile-compile @@ -67,6 +67,31 @@ pipeline { } } + // Ubuntu 18.04 test posix_sitl_default + build_nodes["posix_sitl_default (Ubuntu 18.04)"] = { + node { + docker.image('px4io/px4-dev-base:2018-08-21').inside('-e CCACHE_BASEDIR=${WORKSPACE} -v ${CCACHE_DIR}:${CCACHE_DIR}:rw') { + stage("sitl (Ubuntu 18.04)") { + try { + sh('export') + checkout(scm) + sh('make distclean') + sh('git fetch --tags') + sh('ccache -z') + sh('make posix_sitl_default') + sh('ccache -s') + } + catch (exc) { + throw (exc) + } + finally { + sh('make distclean') + } + } + } + } + } + // docker builds: def arch_builds = [ target: ["posix_sitl_default"],