Jenkins ROS tests set CI=true and set CCACHE_BASEDIR

This commit is contained in:
Daniel Agar 2018-01-02 11:59:44 -05:00
parent 1f4bad0624
commit 5af4704aac
1 changed files with 8 additions and 8 deletions

16
Jenkinsfile vendored
View File

@ -350,7 +350,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {
@ -375,7 +375,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {
@ -400,7 +400,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {
@ -425,7 +425,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {
@ -450,7 +450,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {
@ -475,7 +475,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {
@ -500,7 +500,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {
@ -525,7 +525,7 @@ pipeline {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros:2017-12-31' image 'px4io/px4-dev-ros:2017-12-31'
args '-e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE' args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw -e HOME=$WORKSPACE'
} }
} }
steps { steps {