From d70f5e19fd3efc6f509b517141a2075506975d44 Mon Sep 17 00:00:00 2001 From: Francesc Domene <47461016+fdomf@users.noreply.github.com> Date: Tue, 30 Jul 2019 15:17:09 +0200 Subject: [PATCH] Fdomf/c++docs (#1947) * Updated documentation and improvements * Added doxygen to jenkins pipeline --- CHANGELOG.md | 4 ++++ Jenkinsfile | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ee633bc1..4dcc8db3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Latest + * Added Doxygen documentation online with automatic updates through Jenkins pipeline + + ## CARLA 0.9.6 * Upgraded to Unreal Engine 4.22 diff --git a/Jenkinsfile b/Jenkinsfile index 176e6c622..0b837b3c3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -81,6 +81,20 @@ pipeline { sh 'make deploy ARGS="--replace-latest --docker-push"' } } + + stage('Doxygen') { + when { anyOf { branch "master"; buildingTag() } } + steps { + sh 'make docs' + sh 'rm -rf ~/carla-simulator.github.io/Doxygen' + sh 'cp -rf ./Doxygen ~/carla-simulator.github.io/' + sh 'cd ~/carla-simulator.github.io && \ + git pull && \ + git add Doxygen && \ + git commit -m "Updated c++ docs" || true && \ + git push' + } + } } post {