This blog post will show you how to run production-ready Jenkins with 2 steps. We have been using this for over six months with great success! Just a note, you can only run this on a machine that has Docker installed on it.
First, we will create the init upstart script so that when the system boots, reboots, or if the container fails, it will restart this process just like any other server processes you run.
Step 1 – Write the start configuration file
Using your favorite text editor, open this file as a
root user and edit
/etc/init/jenkins.conf to add this content:
This code accomplishes several things:
- Starts this service when the system boots and shuts it down when the system goes down
- Logs the starting…
View original post 261 more words