I want to init the Jenkins not by service, but by my self(As windows user) in cmd!
Go to your services and stop Jenkins service. To see all your services run services.msc
, from there find Jenkins service and disable\stop it.
Open up "cmd" as administrator.
In cmd navigate to where you installed Jenkins, by default it should be in C:\Program Files(x86)\Jenkins
.
Run the command:
java -jar jenkins.war
This should start Jenkins for you in cmd now use your address and port which you already defined for installed Jenkins.
In case you want to have fresh start. Download latest jenkins.war file or copy your .war file to another directory and run the java -jar
command.
If you want to go back to your installed Jenkins close the cmd which is running Jenkins and start the service back up.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With