Sunday, 15 September 2013

Re-installing jenkins in Ubuntu

Re-installing jenkins in Ubuntu

Well, I forgot my password for Jenkins and I tried(for one full day) with
all usual passwords, failed in all attempts. Hence, I wanted to reinstall
jenkins from scratch, luckily I was just setting up and I had no jobs
configured yet.
So I removed (rm -Rf) of jenkins folder from tomcat webapps directory, and
restarted tomcat. To my surprise Jenkins asks for login again.
What is the proper way to remove and reinstall jenkins? I have jenkins.war
and I installed it by just copying it over to tomcat webapps.
Well either - I want to reset my password because I am the only admin or I
want to reinstall jenkins from scratch. I have sudo access to the machine,
could someone point me on how I can do this?

No comments:

Post a Comment