Skip to content

Commit

Permalink
Add srv/ folder and srv/VehicleCommand.srv
Browse files Browse the repository at this point in the history
update CI (github and Jenkins) to push changes of srv/
to PX4/px4_msgs repo

Signed-off-by: Beniamino Pozzan <[email protected]>
  • Loading branch information
beniaminopozzan authored and dagar committed Nov 14, 2023
1 parent efa12ad commit 4555c4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,6 @@ jobs:
run: |
git clone https://github.com/PX4/px4_msgs.git
rm px4_msgs/msg/*.msg
rm px4_msgs/srv/*.srv
cp msg/*.msg px4_msgs/msg/
cp srv/*.srv px4_msgs/srv/
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ pipeline {
sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_msgs.git")
// 'main' branch
sh('rm -f px4_msgs/msg/*.msg')
sh('rm -f px4_msgs/srv/*.srv')
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 push origin main || true')
sh('rm -rf px4_msgs')
Expand Down
3 changes: 3 additions & 0 deletions srv/VehicleCommand.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VehicleCommand request
---
VehicleCommandAck reply

0 comments on commit 4555c4e

Please sign in to comment.