Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to shutdown my Jenkins safely?

Tags:

jenkins

I run Jenkins in its own container. I use the command "nohup java -jar jenkins.war --httpsPort=8443".

How do I shut it down safely? Right now, I use the kill command to kill the process.

like image 845
user1164061 Avatar asked Apr 20 '12 00:04

user1164061


People also ask

How do I stop Jenkins running on port 8080?

The default is port 8080. To disable (because you're using https), use port -1 . This option does not impact the root URL being generated within Jenkins logic (UI, inbound agent files, etc.). It is defined by the Jenkins URL specified in the global configuration.


1 Answers

Use http://[jenkins-server]/exit

This page shows how to use URL commands.

like image 144
tcbcw Avatar answered Sep 27 '22 20:09

tcbcw