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 [email protected].
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.