0

I want to know how can I modify the below setting from Jenkins server and not UI:

http://XXXXX:YYYYY/configureSecurity/

cache

2
  • what is the plugin that you have installed? I don't have this option on my jenkins – Nitish Feb 17 '20 at 9:54
  • I guess LDAP plugin: plugins.jenkins.io/ldap – arielma Feb 17 '20 at 10:15
1

Add the following lines in /var/lib/jenkins/config.xml under securityRealm and then restart jenkins service to enable cache. Remove the below 4 line if you don't want to enable it.

<cache>
  <size>500</size>
  <ttl>3600</ttl>
</cache>

Please refer the below image

Jenkins config file snippet

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.