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 Jenkins parser doesn't pass it.
Someone has idea?
Thanks very much.
Best regards,
Hong
a valid C identifier must start with alphabetic character or '_', followed by a string of alphanumeric characters or '_'
--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADLWyO1jrOYcJzMgBFZvMy0uENVjMORJsrSr%3DUoi%2Bf%2B-jGP-dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You can not use dots in an environment variable
https://kubernetes.io/docs/api-reference/v1.6/#envvar-v1-corea 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 <allway...@gmail.com> wrote:
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 Jenkins parser doesn't pass it.
Someone has idea?
Thanks very much.
Best regards,
Hong
--
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.