Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to delete jenkins that was installed as jenkins.war on windows?

I'm using OS Windows

I'm trying to delete jenkins, that was installed as jenkins.war file. I need to delete it, because I made a lot of mistakes while configuring it.

I was trying to run the

jenkins.war uninstall 

but it does not work ( in this occurance the popup window opens and suggest me to select the program which will run this command )

Also I tried to find the jenkins sevice by running the

service.msc

But there was not this service in the list.

Please help me to resolve this problem :)

like image 533
Olena Chaban Avatar asked Jan 02 '23 15:01

Olena Chaban


1 Answers

If you run Jenkins again by java -jar jenkins.war from command line you can find a line like that

Jenkins home directory: C:\Users\martinruan\.jenkins found at: $user.home/.jenkins

Delete the directory .jenkins then you are able reinstall Jenkins.

like image 178
Quyet Nguyen Avatar answered Jan 05 '23 15:01

Quyet Nguyen