Kubernetes Plugin - Add ‘Environment Variable’ Button is not functional in Jenkins ‘Configure System’ under ‘Container Template’

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Kubernetes Plugin - Add ‘Environment Variable’ Button is not functional in Jenkins ‘Configure System’ under ‘Container Template’

Avi Segev

 

Versions used:  Jenkins ver.  2.60.1, Kubernetes plugin version 1.0 (also tested on version 1.1).


We have a functional dynamically provisioned Jenkins slave that was initially configured with a container template and a few environment variables.

For some reason the buttons ‘Add Environment Variable’ in the Jenkins Configure form (under the ‘Cloud’ section) are no longer functional (the button / drop down list is empty)

 

Notes

  • The following may be related; we also observed that when the ‘Jenkins   Configure System’ form is saved there is a server log with the following warning:

Nov 01, 2017 12:04:24 AM hudson.model.Descriptor verifyNewInstance

WARNING: Father of ContainerEnvVar [getValue()=xyz, getKey()=kkk] and its getDescriptor() points to two different instances. Probably malplaced @Extension. See http://hudson.361315.n4.nabble.com/Help-Hint-needed-Post-build-action-doesn-t-stay-activated-td2308833.html

  • The provisioned slave works fine with the existing configured environment variables present in the container as expected. The issue that we have is adding new Pod Templates with container templates and environment variables.

 

 

 

 

--
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/e7cb8fa7-a7f9-4069-8602-45621c641d94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Kubernetes Plugin - Add ‘Environment Variable’ Button is not functional in Jenkins ‘Configure System’ under ‘Container Template’

Carlos Sanchez

It's a known issue https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-47112


On Wed, Nov 1, 2017, 16:29 Avi Segev <[hidden email]> wrote:

 

Versions used:  Jenkins ver.  2.60.1, Kubernetes plugin version 1.0 (also tested on version 1.1).


We have a functional dynamically provisioned Jenkins slave that was initially configured with a container template and a few environment variables.

For some reason the buttons ‘Add Environment Variable’ in the Jenkins Configure form (under the ‘Cloud’ section) are no longer functional (the button / drop down list is empty)

 

Notes

  • The following may be related; we also observed that when the ‘Jenkins   Configure System’ form is saved there is a server log with the following warning:

Nov 01, 2017 12:04:24 AM hudson.model.Descriptor verifyNewInstance

WARNING: Father of ContainerEnvVar [getValue()=xyz, getKey()=kkk] and its getDescriptor() points to two different instances. Probably malplaced @Extension. See http://hudson.361315.n4.nabble.com/Help-Hint-needed-Post-build-action-doesn-t-stay-activated-td2308833.html

  • The provisioned slave works fine with the existing configured environment variables present in the container as expected. The issue that we have is adding new Pod Templates with container templates and environment variables.

 

 

 

 

--
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/e7cb8fa7-a7f9-4069-8602-45621c641d94%40googlegroups.com.
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6N5Y7fwpay_pWW%3Dn7YWDL8T6OjxHkB5KXMjgiWeDf2iKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.