Jenkins system user reverting the SAML SSO configuration after Jenkins service restart

Jenkins system user reverting the SAML SSO configuration after Jenkins service restart

Can you share what your deployment is like? in docker based you’d like to ensure to keep the config.xml file in persistent volume so it will save the configuration

Hi @idan , Working on setting up Jenkins HA setup. we have deployed Jenkins in linux virtual machine. Jenkins home is under /var/lib/jenkins in linux filesystem. Once Jenkins is up , I have installed SAML plugin and updated the idp metadata. After Setup , SSO is working fine, when I do a Jenkins service restart, system user reverting the SSO configuration alone. I can see that system user reverting config.xml after restart in config history. Tested this in various Jenkins version, still not able to find the root cause of the issue. Anyway we can disable the system user?

I’m also facing same issue, could someone help me to fix it please.

Though We have mounted EFS, SAML changes are going off after Jenkins restart

Seems that CasC file exists which overwrites any changes you do to the security realm. Remove that configuration from that file or adjust it to reflect the configuration you want