configuration-as-code-plugin icon indicating copy to clipboard operation
configuration-as-code-plugin copied to clipboard

Unable to get jcasc config loaded

Open edem26 opened this issue 2 years ago • 0 comments

Your checklist for this issue

🚨 Please review the Support Policy

  • [ ] The question was asked in the project's Gitter chat
  • [x ] Jenkins version 2.332.3
  • [ x] Plugin version 1429.v09b_044a_c93de
  • [ x] OS RHEL 7.9
  • [ ] Reproduction steps Install and start jenkins 2.332.3 Make sure the JENKINS_JAVA_OPTIONS has the -Dcasc.jenkins.config=/path/ofthe/jcasc_config Got to the UI and view the configuration to see if it got loaded from the "/path/ofthe/jcasc_config"

Description

Please describe your issue here, and explain what you have already tried to resolve it.

Using puppet to configure the jenkins server, usually the job should set the jenkins to have the proper casc config to be loaded from while going to the UI. On a new server, after puppet runs, the jcasc config file inside the /path/ofthe/jcasc_config is not being loaded from the server side however, if I manually set it on the UI it work and I can see the configuration file showing the security realm and envVars etc. I have also tried to push the io.jenkins.plugins.casc.CasCGlobalConfig.xml on the server and restart jenkis vut no luck either. I need help please

edem26 avatar Jun 27 '22 13:06 edem26