Skip to content

Commit

Permalink
Jenkinsfile: run PX4 SITL tests
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed May 15, 2019
1 parent a38f13c commit a54fde9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,32 @@ pipeline {
}
}

stage('Ubuntu 18.04 Debug PX4 SITL') {
agent {
docker {
image 'dronecode/dronecode-sdk-ubuntu-18.04-px4-sitl:2019-05-15'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
steps {
sh 'export'
sh 'git submodule deinit -f .'
sh 'git clean -ff -x -d .'
sh 'git submodule sync --recursive'
sh 'git submodule update --init --recursive --force'
sh 'ccache -z'
sh 'make BUILD_TYPE=Debug'
sh 'PX4_SIM_SPEED_FACTOR=10 AUTOSTART_SITL=1 HEADLESS=1 build/default/integration_tests/integration_tests_runner --gtest_filter="SitlTest.*"'
}
post {
always {
sh 'ccache -s'
sh 'git submodule deinit -f .'
sh 'git clean -ff -x -d .'
}
}
}

stage('Fedora 27 Debug') {
agent {
docker {
Expand Down

0 comments on commit a54fde9

Please sign in to comment.