Skip to content

Commit

Permalink
WIP: Jenkins simple catkin build
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jun 15, 2018
1 parent a19feca commit 658d168
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {

def docker_base = "px4io/px4-dev-base:2018-03-30"
def docker_nuttx = "px4io/px4-dev-nuttx:2018-03-30"
def docker_ros = "px4io/px4-dev-ros:2018-03-30"
def docker_ros = "px4io/px4-dev-ros:2018-06-14"
def docker_rpi = "px4io/px4-dev-raspi:2018-03-30"
def docker_armhf = "px4io/px4-dev-armhf:2017-12-30"
def docker_arch = "px4io/px4-dev-base-archlinux:2018-03-30"
Expand Down Expand Up @@ -140,6 +140,30 @@ pipeline {
stage('Test') {
parallel {

stage('catkin') {
agent {
docker {
image 'px4io/px4-dev-ros:2018-06-14'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE'
}
}

steps {
dir('catkin_ws') {
sh '''#!/bin/bash -l
echo $0;
source /opt/ros/kinetic/setup.bash;
catkin init;
source devel/setup.bash;
catkin build;
'''
}
}
options {
checkoutToSubdirectory('catkin_ws/src/Firmware')
}
}

stage('Style Check') {
agent {
docker { image 'px4io/px4-dev-base:2018-03-30' }
Expand Down

0 comments on commit 658d168

Please sign in to comment.