Browse Source

Jenkins add separate Ubuntu 18.04 posix_sitl_default build

sbg
Daniel Agar 7 years ago
parent
commit
ad4bd6b0d6
  1. 25
      .ci/Jenkinsfile-compile

25
.ci/Jenkinsfile-compile

@ -67,6 +67,31 @@ pipeline { @@ -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"],

Loading…
Cancel
Save