Automated jenkins setup

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Automated jenkins setup

Wolfgang Gerlach
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Automated jenkins setup

slide
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc%2Ba%2B97UXq05xJgjcBr2oKHSMJvRUUpHQT3FQqtoT1dFg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Automated jenkins setup

Wolfgang Gerlach
thanks! that seems to be what I was looking for !

On Friday, June 5, 2020 at 6:27:16 PM UTC-5, slide wrote:
I would recommend looking at the JCasC plugin (<a href="https://www.jenkins.io/projects/jcasc/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.jenkins.io%2Fprojects%2Fjcasc%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNExN6BbzALhdN2w5g1YXoOas3LN5g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.jenkins.io%2Fprojects%2Fjcasc%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNExN6BbzALhdN2w5g1YXoOas3LN5g&#39;;return true;">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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0wRcAf6nAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wolfgangg...@...> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0wRcAf6nAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/5788d1f4-f5c8-409e-bfea-cfd6759c6a5bo%40googlegroups.com.


--
Website: <a href="http://earl-of-code.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fearl-of-code.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH6n4PgqhQTRQjanfDfEls_aRabFg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fearl-of-code.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH6n4PgqhQTRQjanfDfEls_aRabFg&#39;;return true;">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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2525a01b-7bf5-47a9-92cc-2c00bc485eb2o%40googlegroups.com.