Re: The format of key of containerEnvVar within Jenkins Kubernetes Plugin

2017-08-14 Thread YAN-HONG WANG
Hello Carlos, I found out some other way to avoid to use *dot *in variable name. Thanks. Hong Am Freitag, 11. August 2017 16:27:24 UTC+2 schrieb YAN-HONG WANG: > > Hello Carlos, > > Thanks for hint. > > But, something interesting is if I set this *environment variable *into > Dockerfile. > That

Re: The format of key of containerEnvVar within Jenkins Kubernetes Plugin

2017-08-11 Thread YAN-HONG WANG
Hello Carlos, Thanks for hint. But, something interesting is if I set this *environment variable *into Dockerfile. That's worked. Looks like: ENV *data.source.url* SomeWhere_A I could see *data.source.url* existed when this Docker container run. That environment variable even could be saw when

Re: The format of key of containerEnvVar within Jenkins Kubernetes Plugin

2017-08-10 Thread Carlos Sanchez
You can not use dots in an environment variable https://kubernetes.io/docs/api-reference/v1.6/#envvar-v1-core a valid C identifier must start with alphabetic character or '_', followed by a string of alphanumeric characters or '_' On Wed, Aug 9, 2017 at 9:18 AM, WANG, YAN-HONG wrote: > Hell

The format of key of containerEnvVar within Jenkins Kubernetes Plugin

2017-08-09 Thread WANG, YAN-HONG
Hello, I am Hong. I saw "*containerEnvVar*" was supported by Jenkins *Kubernetes* Plugin 0.9. But, it seems not support some key value with *dot*? Example in *containerTemplate*: *containerEnvVar*( key: “*data.source.url*”, value: “somewhere” ) I tried to use *backslash *to escape *dot*, but Je