Update jenkinsfile
This commit is contained in:
parent
e95a5e6b1d
commit
3d38b43d04
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -1,7 +1,7 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
// docker { image 'ros:kinetic-ros-core-xenial' }
|
// docker { image 'ros:kinetic-ros-base-xenial' }
|
||||||
docker { image 'ros:kinetic-ros-base-xenial' }
|
docker { image 'joinaero/kinetic-ros-opencv-xenial' }
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -16,10 +16,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
echo "WORKSPACE: ${env.WORKSPACE}"
|
echo "WORKSPACE: ${env.WORKSPACE}"
|
||||||
echo 'apt-get ..'
|
echo 'apt-get ..'
|
||||||
sh '''
|
sh 'apt-get update'
|
||||||
apt-get update
|
|
||||||
apt-get install -y ros-kinetic-opencv3
|
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Init') {
|
stage('Init') {
|
||||||
|
@ -91,7 +88,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
echo 'This will run only if failed'
|
echo 'This will run only if failed'
|
||||||
mail to: 'mynteye@slightech.com',
|
mail to: 'mynteye-ci@slightech.com',
|
||||||
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
|
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
|
||||||
body: "Something is wrong with ${env.BUILD_URL}"
|
body: "Something is wrong with ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user