bootstrapping jenkins with initial password

15 views
Skip to first unread message

Jeeva Chelladhurai

unread,
May 22, 2017, 10:39:12 PM5/22/17
to jenkins...@googlegroups.com
Hello All,

I would like to automate the deployment of dockerized Jenkins with no manual intervention. I have disabled to initial setup wizard using the below java option.

JAVA_OPTS=-Djenkins.install.runSetupWizard=false

I would also like to bootstrap Jenkins with an initial username and password during the jenkins docker image build time or even better the first time I launch the jenkins container.

Your help is greatly appreciated

Thanks,
Jeeva

--
Jeeva K S Chelladhurai

Daniel Beck

unread,
May 24, 2017, 8:32:44 AM5/24/17
to jenkins...@googlegroups.com

> On 23. May 2017, at 04:38, Jeeva Chelladhurai <sje...@gmail.com> wrote:
>
> I would also like to bootstrap Jenkins with an initial username and password during the jenkins docker image build time or even better the first time I launch the jenkins container.
>

https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Jenkins+upon+start+up

This may take some trial & error though, as you're digging deep into the Jenkins internals.

Reply all
Reply to author
Forward
0 new messages