Re: Kubernetes plugin configuration using groovy

2019-01-03 Thread Alex
Hi there, It works for me with the CASC plugin like this: jenkins: clouds: - kubernetes: name: "Kubernetes" skipTlsVerify: true namespace: "jenkins" jenkinsUrl: "http://localhost:8080"; connectTimeout: 0 readTimeout: 0 containerCapStr:

Re: Kubernetes plugin configuration using groovy

2019-01-03 Thread unguiculus
Did you manage to solve the issue? I'm actually having the same problem but I do use the CasC plugin as Carlos suggested. Everything looks ok in the UI but only starts working if I hit "Save". I copied away the whole JENKINS_HOME before and after hitting "Save". As expected, the diff doesn't sh

Re: Kubernetes plugin configuration using groovy

2018-08-20 Thread Carlos Sanchez
Have you tried configuration as code plugin? On Mon, Aug 20, 2018, 15:54 Alex wrote: > I am trying to configure the kubernetes plugin by using groovy at startup. > > The problem that I have is that I can see the configuration in the > "Configure System" menu, but it's not working unless i click

Kubernetes plugin configuration using groovy

2018-08-20 Thread Alex
I am trying to configure the kubernetes plugin by using groovy at startup. The problem that I have is that I can see the configuration in the "Configure System" menu, but it's not working unless i click on "Save" This is my groovy: import org.csanchez.jenkins.plugins.kubernetes.* import jenkin