Thanks for your helping I changed my yaml file , and it work ! securityRealm: null authorizationStrategy: Unsecured
But I just only want debug something and recover some credentials it just temporary . Best Regards nicolas de loof <[email protected]>, 27 Kas 2018 Sal, 12:01 tarihinde şunu yazdı: > "enabled" in web UI is a fake attribute, it's actual effect > <https://github.com/jenkinsci/jenkins/blob/22aa2e6e766074d11249893e3f35e0b99e20d3d0/core/src/main/java/hudson/security/GlobalSecurityConfiguration.java#L120> > is to invoke disableSecurity > <https://github.com/jenkinsci/jenkins/blob/22aa2e6e76/core/src/main/java/jenkins/model/Jenkins.java#L2526>() > which is actually equivalent to yaml config setting securityRealm : None and > authorizationStrategy : Unsecured > > That being said, > very bad idea to run jenkins unsecured. Think twice. At your own risks. > Don't do that. Don't > > https://www.youtube.com/watch?v=aJo8N77FOAk > > Le mar. 27 nov. 2018 à 09:21, Emir Özbir <[email protected]> a > écrit : > >> I want disable security with Configuration as a code Plugin . So that >> I've created a yaml file shown as below . >> security: >> enabled: false >> >> jenkins: >> cloud: >> /*** Others Configs ***/ >> >> >> I've got a error shown as below up the Jenkins instance . >> >> org.jenkinsci.plugins.casc.ConfiguratorException: Invalid configuration >> elements for type class jenkins.model.GlobalConfigurationCategory$Security >> : enabled err >> >> Which attribute is for disable security at Jenkins in CaasC plugin . >> >> Please Help . >> >> Best Regards . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/edbfe25f-4269-484b-a48d-dd00b12f6c74%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/edbfe25f-4269-484b-a48d-dd00b12f6c74%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Nicolas De Loof > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzmr3JgF17Dow3zTJFaVG68GAUyurm9R%2BSZCoodBY7wwgg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzmr3JgF17Dow3zTJFaVG68GAUyurm9R%2BSZCoodBY7wwgg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEHNYcyu3QpLhN02HVFZEFPmgdz1oJZye2k_YpDPsGWn55EmNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
