سؤال

When you build a project e.g. with Maven one gets the project site generated by doing mvn site or similarly using CMake one generates the doxygen documentation (assuming the correct configuration in CMakeLists.txt) with make doc. Once I get this executed as a Task in Bamboo; where can I deploy such websites? I have already several Web Servers running in my CI environment: JIRA, Bamboo, Stash and Fisheye. I'd prefer not having to run another Web Server just to host the project static HTML documentation and sites.

Anyone have any ideas how this can be published? e.g. maybe a project report as part of Bamboo? How?

هل كانت مفيدة؟

المحلول

The Company I work for does two things:

  1. We Run a Web Server with all our documentation on it that gets updated whenever a build finishes. (docs.my-company.com)
  2. We zip up the documentation from the build and make it available as a artifact thats downloadable.

One solution for you is if you already run say Bamboo at a domain like build.my-company.com/ you could setup an Apache Location called like build-docs that contains all your generated build docs from the Bamboo builds.

This lets you double up on a Web Server without creating yet another web server.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top