Refer to https://www.codeproject.com/articles/1056410/setup-configure-jenkins-for-your-team-in-automated as a possible guide for Ansible.
https://groups.google.com/d/msg/jenkinsci-users/sRq2kiQscVE/qMvllU5vAgAJ provides the link for a chef cookbook. http://puppet-jenkins.readthedocs.io/en/latest/index.html seems to be a puppet module Mark Waite On Wednesday, December 28, 2016 at 4:02:33 AM UTC-7, Karthik Veeragoni wrote: > > Sorry for the typos: > > After installation of jenkins, when for the first time we access the > Jenkins web UI, we will go through following steps: > 1. Pasting Administrator Key from a secret file on to the Web UI > 2. Plugins Installation {Default or Custom} > 3. User Account creation > > My intention is to automate the above steps without the user interaction > by using any of the tools like for example: ansible,chef,puppet etc. > > On Wednesday, December 28, 2016 at 4:30:43 PM UTC+5:30, Karthik Veeragoni > wrote: >> >> After installation of jenkins, when for the first time we access the >> Jenkins web UI, we will go through following steps: >> 1. Pasting Administrator Key from a secret file on to the Web UI >> 2. Plugins Installation {Default or Custom} >> 3. User Account creation >> >> My intention is to use automate those without the user interaction by >> using any tool like for example: ansible,chef,puppet etc... >> >> On Tuesday, December 27, 2016 at 12:12:17 AM UTC+5:30, Mark Waite wrote: >>> >>> If you're using a Docker image (my preference), then you can refer to >>> https://github.com/MarkEWaite/docker/tree/lts-with-plugins for an >>> example that configures a current Jenkins LTS installation with plugins >>> installed, no user account, and no security. >>> >>> If you run that docker image once, connect to that unsecured instance, >>> configure security, create user accounts, etc., you can then copy the >>> configuration files from that docker image to your own image. When you >>> build that docker image, you'll have a Jenkins image secured the way you >>> want, with the default user accounts you want. >>> >>> Mark Waite >>> >>> On Mon, Dec 26, 2016 at 5:38 AM 'Karthik Veeragoni' via Jenkins Users < >>> [email protected]> wrote: >>> >>>> Hi guys, >>>> >>>> I'm trying to automate jenkins installations steps >>>> So as part of that I'm stuck at: Giving the initial Administration Key, >>>> Plugins Installation, User Account Creation >>>> How can I automate these steps, any help? >>>> >>>> Thanks & 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/ecb8d32e-ddb6-4221-bc4d-7868d1d6748a%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/jenkinsci-users/ecb8d32e-ddb6-4221-bc4d-7868d1d6748a%40googlegroups.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/f2a49bde-32e7-42cc-8010-f2a5432e7e0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
