I would be grateful if someone that knows Jenkins internals could comment 
on this post. I need to know how to avoid Jenkins setting "
<useSecurity>true</useSecurity>" on first startup. If there is a known 
issue here I would appreciate a issue link. If there should be an issue 
filed please let me know and I will do so. Thanks.

On Wednesday, February 22, 2017 at 4:24:03 PM UTC-5, Farrukh Najmi wrote:
>
> Hi Guys, I am trying to setup Jenkins using the chef recipe at 
> https://supermarket.chef.io/cookbooks/jenkins. 
>
> I would like to provision jenkins plugins using the CLI but have run into 
> a bootstrapping issue. 
>
> Seems the default installation uses a strict config.xml that requires 
> <useSecurity>true</useSecurity>. 
> This means I cannot use the CLI to install plugins during provisioning 
> because I cannot do so as anonymous user. 
>
> I tried updating the config.xml file to have:
>
>  <useSecurity>false</useSecurity> 
>
> But it seems that upon "service jenkins restart" my config.xml file gets 
> reverted to its original value. Any suggestions on how top work around this?
>

-- 
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/86930ece-5e03-4232-9065-eb752f434bbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to