Jenkins PX4 ROS deploy steps cleanup first

This commit is contained in:
Daniel Agar 2019-02-05 21:37:15 -05:00 committed by GitHub
parent 8a3305742e
commit 3959180a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 8 deletions

10
Jenkinsfile vendored
View File

@ -500,8 +500,8 @@ pipeline {
docker { image 'px4io/px4-dev-base:2019-01-27' }
}
steps {
checkout(scm)
sh('export')
sh('make distclean')
withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) {
sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_msgs.git -b ${BRANCH_NAME}")
sh('python msg/tools/uorb_to_ros_msgs.py msg/ px4_msgs/msg/')
@ -516,9 +516,6 @@ pipeline {
branch 'pr-jenkins' // for testing
}
}
options {
skipDefaultCheckout()
}
}
stage('PX4 ROS2 bridge') {
@ -526,8 +523,8 @@ pipeline {
docker { image 'px4io/px4-dev-base:2019-01-27' }
}
steps {
checkout(scm)
sh('export')
sh('make distclean')
withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) {
sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_ros_com.git -b ${BRANCH_NAME}")
// deploy uORB RTPS ID map
@ -550,9 +547,6 @@ pipeline {
branch 'pr-jenkins' // for testing
}
}
options {
skipDefaultCheckout()
}
}
stage('S3') {