mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-18 16:19:23 +08:00
Jenkins CI: PX4 ROS msgs stage: properly name the ros1 branch
This commit is contained in:
Vendored
+3
-3
@@ -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 push origin master || true')
|
||||
// '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('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')
|
||||
}
|
||||
}
|
||||
when {
|
||||
anyOf {
|
||||
branch 'master'
|
||||
branch 'feature/deploy_ros1_msgs' // for testing
|
||||
branch 'pr-jenkins' // for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user