How do I start and stop Jenkins in Linux?

How do I start and stop Jenkins in Linux?
Answer
The below commands worked for me in Red Hat Linux and should work for Ubuntu also.
  1. To know the status of Jenkins: sudo service jenkins status.
  2. To start the Jenkins: sudo service jenkins start.
  3. To stop the Jenkins: sudo service jenkins stop.
  4. To restart the Jenkins: sudo service jenkins restart.
 

Tìm kiếm

Back
Top