Using Jenkins as HTTP server for your custom HTML

enter image description here
Jenkins CI has its own small HTTP server after installation. You can use it easily when you need to publish your own html pages, e.g. code documentation such as Rdocs or YARD docs.

To publish you content you need to put your files to /var/lib/jenkins/userContent directory (default path for Ubuntu installation).

That’s it! Now you can find your pages on http://<your_jenkins_url>/userContent/your_page.html. As a result you’ve got http-server with restricted access for Jenkins users.

enter image description here

Written with StackEdit.

Comments

Popular posts from this blog

Geminabox: Simple private RubyGems server on your own host

Gedit: make links clickable (with Ruby script)