Confirming that "setting the system property jenkins.install.runSetupWizard
to false" did the trick for me. Thanks very much Daniel Beck for helping me
out.

On Mon, Feb 27, 2017 at 1:28 PM, Daniel Beck <m...@beckweb.net> wrote:

> Try setting the system property jenkins.install.runSetupWizard to false.
>
> https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+
> properties
>
> > On 22.02.2017, at 22:24, Farrukh Najmi <farrukh.n...@gmail.com> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/99f11d26-b9c2-466a-b7cb-655705b7e8dd%40googlegroups.
> com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/OICUwtY8IyI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/CE96F7BE-8373-4ADA-80BB-2747FD106BFD%40beckweb.net.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Farrukh

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAN0VY%2B-7KbekepZJBO8rjRHrE3PkY1-%2B13TkCmK6FGZSfv9wCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to