Add global-variable-string-parameter.hpi to jenkins/plugins and restart. In your job, choose Add Parameter and select Global Variable String Parameter. Use $VARIABLE ...
Global variables are divisive: an invaluable shortcut or a dangerous example of sloppy code? Let's talk about what they do, ...