Jenkins CI: PX4 ROS2 bridge stage: deploy uORB RTPS ID map before the scripts

This commit is contained in:
TSC21 2019-02-04 09:08:57 +00:00 committed by Nuno Marques
parent 59a264b179
commit cd49556aee

1
Jenkinsfile vendored
View File

@ -511,6 +511,7 @@ pipeline {
// deploy uORB RTPS ID map
sh('python msg/tools/uorb_to_ros_rtps_ids.py -i msg/tools/uorb_rtps_message_ids.yaml -o px4_ros_com/templates/uorb_rtps_message_ids.yaml')
sh('cd px4_ros_com; git status; git add .; git commit -a -m "Update uORB RTPS ID map `date`" || true')
sh('cd px4_ros_com; git push origin ${BRANCH_NAME} || true')
// deploy uORB RTPS required tools
sh('cp msg/tools/uorb_rtps_classifier.py px4_ros_com/scripts/uorb_rtps_classifier.py')
sh('cp msg/tools/generate_microRTPS_bridge.py px4_ros_com/scripts/generate_microRTPS_bridge.py')