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

85 views
Skip to first unread message

Avi Segev

unread,
Nov 1, 2017, 9:29:05 AM11/1/17
to Jenkins Users

 

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.

 

 

 

 

Carlos Sanchez

unread,
Nov 1, 2017, 11:34:33 AM11/1/17
to jenkins...@googlegroups.com

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


--
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-use...@googlegroups.com.
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 all
Reply to author
Forward
0 new messages