Saturday, 23 April 2016

How to install and configure Jenkins ?


Installation
1. Download jenkins.war
2. Move WAR to a web deployment dir of Servlet container.
3. Start the server (container).
4. Open web browser and go to URL http://myServer:8080, where myServer is the name of the system running Jenkins.


JENKINS_HOME
Jenkins needs some disk space to perform builds and keep archives.

By default, this is set to ~/.jenkins, but you can change this in one of the following ways :
  • Set "JENKINS_HOME" environment variable to the new home directory before launching the servlet container.
  • Set "JENKINS_HOME" system property to the servlet container.
  • Set JNDI environment entry "JENKINS_HOME" to the new directory.

To change this path in between :
   1. Stop Jenkins completely
   2. Move the contents from old JENKINS_HOME to the new home
   3. Set the new JENKINS_HOME
   4. Restart Jenkins

Contents of JENKINS_HOME

No comments:

Post a Comment

Note: only a member of this blog may post a comment.