Re: Automate Jenkins install on Kubernetes
Bumping this thread again Does anyone have a good strategy for automating the install and configuration of Jenkins on K8s? On Monday, June 13, 2016 at 12:41:23 PM UTC-6, Warren Strange wrote: > > > > Does anyone have a good way to automate the installation of Jenkins on > Kubernetes, including > all of the plugins, job configuration, etc. > > I have found quite a few k8s / Jenkins manifests - but they pretty much > assume that you will mount a PV for Jenkins home, and then > configure it manually. > > The fabric8 folks have improved on this ( > https://github.com/fabric8io/jenkins-docker > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ffabric8io%2Fjenkins-docker=D=1=AFQjCNGA9GkhJ-dlf6PWxGhmI99g90gAhg>) > > - but it seems rather complex. Perhaps an RFE? > > Thinking out loud: Perhaps a Jenkinsfile could declare the plugins that > it needs, and then have Jenkins install those on the fly? > > > > > > > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/09543cb4-bca3-45d8-9aac-761b936f2201%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Automate Jenkins install on Kubernetes
Does anyone have a good way to automate the installation of Jenkins on Kubernetes, including all of the plugins, job configuration, etc. I have found quite a few k8s / Jenkins manifests - but they pretty much assume that you will mount a PV for Jenkins home, and then configure it manually. The fabric8 folks have improved on this (https://github.com/fabric8io/jenkins-docker) - but it seems rather complex. Perhaps an RFE? Thinking out loud: Perhaps a Jenkinsfile could declare the plugins that it needs, and then have Jenkins install those on the fly? -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8300610c-7580-4c91-ab2e-8ec92ef8d4fe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Multibranch pipeline and github integration
Thanks Michael - I got this working. For those that might run into this problem, here is what you need to do: - Go to your github profile and create a new personal access token: https://github.com/settings/tokens. It needs to have a few scopes checked off to be able to read the repo, make API calls, etc. - In Jenkins - create a credential type of "username / password" - Your username is your github username. The password is the token generated by github - In the multi-branch config - you should now have a username/password choice in the "scan credentials" drop down. Select the credential from above and you are good to go. No more API limits! (Well - 5,000 / hour - which should be lots) On Wednesday, June 8, 2016 at 8:18:07 PM UTC-6, Michael Neale wrote: > > Those API limits will be hit quick when unathenticated, which is what you > are seeing. > > Adding credentials is correct - are you using this plugin: > https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin ? > > Perhaps some screen caps might make it clearer. > > This isn't a "clueless newbie" question, it is a bit fiddly to setup the > first time, so don't worry ;) > > On Thursday, June 9, 2016 at 8:22:01 AM UTC+10, Warren Strange wrote: >> >> >> >> This is probably a clueless newbie problem, but here goes: >> >> I am getting hit with github API rate limits, and want to use an >> authenticated account for api calls. >> >> There is a "scan credentials" drop down - but I have no idea how to add >> credentials to show up in the drop down. >> >> I have added a bunch of credentials at the global level (no idea which >> type to use - I have tried a bunch) - but those >> don't show up. >> >> Any hints? >> >> >> -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e796d6e6-3a50-4c13-94d1-607b3e93834f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Multibranch pipeline and github integration
This is probably a clueless newbie problem, but here goes: I am getting hit with github API rate limits, and want to use an authenticated account for api calls. There is a "scan credentials" drop down - but I have no idea how to add credentials to show up in the drop down. I have added a bunch of credentials at the global level (no idea which type to use - I have tried a bunch) - but those don't show up. Any hints? -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/730f19c6-dbf1-410a-b572-450de8959ab7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.