forked from Archive/PX4-Autopilot
Add srv/ folder and srv/VehicleCommand.srv
update CI (github and Jenkins) to push changes of srv/ to PX4/px4_msgs repo Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>
This commit is contained in:
parent
efa12ad224
commit
4555c4e5cc
|
@ -128,4 +128,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/PX4/px4_msgs.git
|
git clone https://github.com/PX4/px4_msgs.git
|
||||||
rm px4_msgs/msg/*.msg
|
rm px4_msgs/msg/*.msg
|
||||||
|
rm px4_msgs/srv/*.srv
|
||||||
cp msg/*.msg px4_msgs/msg/
|
cp msg/*.msg px4_msgs/msg/
|
||||||
|
cp srv/*.srv px4_msgs/srv/
|
||||||
|
|
|
@ -230,7 +230,9 @@ pipeline {
|
||||||
sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_msgs.git")
|
sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_msgs.git")
|
||||||
// 'main' branch
|
// 'main' branch
|
||||||
sh('rm -f px4_msgs/msg/*.msg')
|
sh('rm -f px4_msgs/msg/*.msg')
|
||||||
|
sh('rm -f px4_msgs/srv/*.srv')
|
||||||
sh('cp msg/*.msg px4_msgs/msg/')
|
sh('cp msg/*.msg px4_msgs/msg/')
|
||||||
|
sh('cp srv/*.srv px4_msgs/srv/')
|
||||||
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 main || true')
|
sh('cd px4_msgs; git push origin main || true')
|
||||||
sh('rm -rf px4_msgs')
|
sh('rm -rf px4_msgs')
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
VehicleCommand request
|
||||||
|
---
|
||||||
|
VehicleCommandAck reply
|
Loading…
Reference in New Issue