I have downloaded and installed Tomcat servlet on my Windows 8...
Inside which many application's .war
files are present. Also Jenkins. I was able to start it and create jobs and plugins through it. But I gave a wrong credentials for Advanced -> plugin -> HTTP Proxy while installing Maven. Maybe this is what is blocking me to login and gives message: Admin Is Missing the Overall/Read Permission.
I searched in Jenkins and many other sites; hey had mentioned to follow these steps...
$JENKINS_HOME
in the file system and find config.xml file.<useSecurity>true</useSecurity>
element in this file and replace true
with false
authorizationStrategy
and securityRealm
.But I searched everywhere to find the config.xml
on Windows, but I can't find it. Where it is?
In Windows 7 I've had the same problem and after looking I found that the config file is in two different folders:
C:\Users\user name\\.jenkins
C:\Windows\System32\config\systemprofile\\.jenkins
changing the first one didn't do much, but deleting the second did the job.
By default Jenkins home directory (JENKINS_HOME
) is set to ~/.jenkins
, this is the location where you can find your Jenkins XML config file.
On Windows your user home directory is under C:\Users\USERNAME
(equivalent to %HOME%
). This folder may be hidden (since it has dot in it), so when browsing the files, make sure your program shows hidden files or type the direct path in your Path/Address bar.
Here is the brief structure of XML files within Jenkins home folder:
JENKINS_HOME
+- config.xml (jenkins root configuration)
+- *.xml (other site-wide configuration files)
+- jobs
+- [JOBNAME] (sub directory for each job)
+- config.xml (job configuration file)
See: Administering Jenkins - JENKINS_HOME
directory
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