I would recommend looking at the JCasC plugin ( https://www.jenkins.io/projects/jcasc/), it might be the best way to achieve what you are looking for.
On Fri, Jun 5, 2020 at 2:34 PM Wolfgang Gerlach < [email protected]> wrote: > Hi, > > > I would like to start a Jenkins server within a docker-compose environment, > and would like to have the setup and creation of a single > user and a token to be automated. I am ok with using the Jenkins API, but did > not find a way to skip the need for manual Jenkins setup and token generation > via web UI. Any help would be appreciated. > > Wolfgang > > -- > 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/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Website: http://earl-of-code.com -- 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/CAPiUgVc%2Ba%2B97UXq05xJgjcBr2oKHSMJvRUUpHQT3FQqtoT1dFg%40mail.gmail.com.
