Skip to content
Snippets Groups Projects
Commit d4570e10 authored by TSC21's avatar TSC21 Committed by Nuno Marques
Browse files

Jenkins CI: PX4 ROS msgs stage: properly name the ros1 branch

parent d1182f18
No related branches found
No related tags found
No related merge requests found
...@@ -511,17 +511,17 @@ pipeline { ...@@ -511,17 +511,17 @@ pipeline {
sh('cd px4_msgs; git status; git add .; git commit -a -m "Update message definitions `date`" || true') 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('cd px4_msgs; git push origin master || true')
// 'ros1' branch // 'ros1' branch
sh('cd px4_msgs; git checkout feature/deploy_ros1_msgs') sh('cd px4_msgs; git checkout ros1')
sh('python msg/tools/uorb_to_ros_msgs.py msg/ 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 status; git add .; git commit -a -m "Update message definitions `date`" || true')
sh('cd px4_msgs; git push origin feature/deploy_ros1_msgs || true') sh('cd px4_msgs; git push origin ros1 || true')
sh('rm -rf px4_msgs') sh('rm -rf px4_msgs')
} }
} }
when { when {
anyOf { anyOf {
branch 'master' branch 'master'
branch 'feature/deploy_ros1_msgs' // for testing branch 'pr-jenkins' // for testing
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment