Search This Blog

Monday, May 12, 2014

How to Restart Jenkins


  • Login to the Jenkins server using powershell or Putty
  • In order to check of the jenkins process is running or not; execute the below command; This will give you the process Id if it is running.
                        > ps -ef | grep jenkins
  • Jenkins service can be started/stopped/restarted only as a root user. So change to the root user and do the action as below
                        > sudo su
                        > sudo service jenkins start
  • If the service is not detected using this script; do the following
                       > /etc/init.d/jenkins start
  • The above command will start your jenkins server. Now open the Jenkins web page in browser and check for the status.


No comments:

Post a Comment