Gregory,
variables are a confusing lot in Jenkins, since there is a lot of variation among plugins and the ways they are handled. I try to use the java property style with dots to group properties.
The simplest example I came up with is the following:
- Parameterize the build with a string parameter called 'version.name'.
- In the 'execute windows batch command' build step you can use %version.name%.
The parameterized build trigger plugin can handle the same situation. I'm not sure on 'execute shell' build step, since I have not used it before. Maybe it is possible to have a duplicate variable which replaces the dot for an underscore. I saw the build-name-setter plugin use another way: ${ENV,var="VARIABLENAME"}.
With kind regards,
Joris
Since variables with dots in it are common, I would say that the plugin should handle those.