Re: Automating First-Time Configuration

2016-04-09 Thread Daniel Beck

On 08.04.2016, at 19:46, Karl Davis  wrote:

> Is that documented somewhere that I should have found it?

It's documented here:
https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

Not really a case of 'should have found it'.

-- 
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/A73734AA-C391-421C-804B-804FCE2776E4%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Automating First-Time Configuration

2016-04-08 Thread Karl Davis
Daniel,

Thanks very much: super helpful! Is that documented somewhere that I should 
have found it?

That certainly does work for my needs. For folks wanting a list of which 
plugins the new setup wizard recommends, that seems to be here for now: 
jenkins/war/src/main/js/api/plugins.js 

.

Thanks again!
Karl


On Thursday, April 7, 2016 at 7:17:13 AM UTC-4, Daniel Beck wrote:
>
>
> On 06.04.2016, at 18:21, Karl Davis  > wrote: 
>
> > So... is there any way to automate that new OOB experience from a 
> command line? Preferably without having to use cURL or something to pretend 
> I'm clicking around in the webapp.  :-) 
>
> Pass 'false' as the value of the system property 
> 'jenkins.install.runSetupWizard', e.g.: 
>
> java -Djenkins.install.runSetupWizard=false -jar jenkins.war 
>
> This will not automate the wizard, but skip it -- but I think you'll 
> manage to install plugins and define the security realm using your tooling. 
>
>

-- 
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/43b658d6-5a2c-41ba-9e26-863eafa6b0d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automating First-Time Configuration

2016-04-07 Thread Daniel Beck

On 06.04.2016, at 18:21, Karl Davis  wrote:

> So... is there any way to automate that new OOB experience from a command 
> line? Preferably without having to use cURL or something to pretend I'm 
> clicking around in the webapp.  :-)

Pass 'false' as the value of the system property 
'jenkins.install.runSetupWizard', e.g.:

java -Djenkins.install.runSetupWizard=false -jar jenkins.war

This will not automate the wizard, but skip it -- but I think you'll manage to 
install plugins and define the security realm using your tooling.

-- 
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/BEA95F4F-E995-4665-BC76-9C1C32D62D8D%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.