forked from Archive/PX4-Autopilot
ROS msgs: remove redundant step
This commit is contained in:
parent
4b1053d212
commit
a07bcc499a
|
@ -481,12 +481,10 @@ pipeline {
|
|||
sh('export')
|
||||
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')
|
||||
sh('python msg/tools/uorb_to_ros_msgs.py msg/ msg/ros/')
|
||||
sh('cp -a msg/ros/. px4_msgs/msg')
|
||||
sh('python msg/tools/uorb_to_ros_msgs.py msg/ px4_msgs/msg/')
|
||||
sh('cd px4_msgs; git status; git add .; git commit -a -m "Update message definitions `date`" || true')
|
||||
sh('cd px4_msgs; git push origin master || true')
|
||||
sh('rm -rf px4_msgs')
|
||||
sh('rm -rf msg/ros')
|
||||
}
|
||||
}
|
||||
when {
|
||||
|
|
Loading…
Reference in New Issue