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 <[email protected]>
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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/jenkinsci-users/CADLWyO1jrOYcJzMgBFZvMy0uENVjMORJsrSr%
> 3DUoi%2Bf%2B-jGP-dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CADLWyO1jrOYcJzMgBFZvMy0uENVjMORJsrSr%3DUoi%2Bf%2B-jGP-dg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6MJxsBOT6_FOn1nyQr%3DNo18SX_bFng_KrWCpzUEn3jwdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to