I use a docker image with copies of the relevant configuration files copied from a system that behaves the way I want. It has worked quite well for me, and has avoided me spending any significant time investigating how to script the initial configuration.
Refer to https://github.com/MarkEWaite/docker-lfs/tree/lts-with-plugins for an example of that technique. Others have preferred to script the initial configuration with groovy init scripts. I'm not aware of a definitive reference for groovy init scripts. Refer to https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console for groovy examples Start with https://wiki.jenkins.io/display/JENKINS/Configuring+Jenkins+upon+start+up , then review https://wiki.jenkins.io/display/JENKINS/Groovy+Hook+Script and https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/jenkinsci-dev/NYPGvrVolak/hXYY-nSqBAAJ and other topics. Mark Waite On Wed, Sep 20, 2017 at 3:23 PM Diego Lagos <[email protected]> wrote: > I would like to ask you if there is a documentation explaining how to > configure through files, plugins, nodes, git repositories, etc ... > so you do not have to use the graphics console every time > > -- > 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/dfc5e3ea-5a33-445e-82d7-0d8c0c011fab%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/dfc5e3ea-5a33-445e-82d7-0d8c0c011fab%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/CAO49JtHhFe9jv7Nrw%3DBDNm3kEhc1UjbPbjoKadwE9ETxCrBiPQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
