Jenkins - user cache issue

Hello All,

I am facing issue while resetting the user cache in the Jenkins. After deleting they are re-appearing.

Actually there are duplicate users in the people tab which I want to delete so I have performed below actions however they re-appeared again-

  1. Stropped the Jenkins service
  2. Deleted all the contents from #JenkinsUserCache (users.xml) from the “//jenkins/users” directory
  3. Started the Jenkins service

After that when I tried to login in the Jenkins web UI and tried to run any pipeline , all the users re-appeared again including duplicates .

Does anyone has a solution for it ?

Thanks
Dileep

If you have the git plugin installed, you might try disabling the global configuration setting “Create new accounts based on author/committer’s email”. It is described in the “Global Configuration” section of the git plugin documentation.