I'm trying to install Jenkins, but, in one part I need to unlock Jenkins, and I didn't find the file with the password, it doesn't exist on my pc. I tried to run this command on my terminal (Windows):

java -jar jenkins.war

But this is the result: (I'm running the terminal as Administrator)

enter image description here

So what do I do now?

New contributor
Mateus is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    It should be in your home directoty, in .jenkins/secrets/initialAdminPassword. It should also ne referenced in the jenkins.log, if you can find that (probably in .jenkins/logs). Can't explain "unable to access..". Is it in system32? Cd to.location or use dull path to war. – Ian W Apr 7 at 2:11

Your Answer

Mateus is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.