Jenkins shut down and restart
We use jar -jar jenkins.war to start the jenkins server, so how do we shut down or restart the jenkins server? After searching, the corresponding method was found.
Close jenkins service
Just add exit after accessing the URL URL of the jenkins server. For example, my jenkins address http://localhost:8080/, then I just need to click the http://localhost:8080/exit URL on the browser address bar to close the jenkins service.
After pressing the return key, it will jump to the following page:
After clicking the Try POSTing button, the jenkins server is directly shut down.
Restart the jenkins server
After changing the exit above to restart, you can restart the jenkins server.
After pressing return, the following interface appears:
After clicking the Yes button, Jenkins will be restarted.
Reload
Change the restart above to reload the configuration information.
After pressing return, jump to the following interface:
After clicking the Try POSTing button, you can reload the configuration.
Thank you for reading, I hope it can help you. Thank you for your support for this site!