At this moment I defined a environment variable called GLOBAL_VAR with the value \'test\' under Manage Jenkins -> Configure System -> Global Properties. I have a shell script wh
in "Execute Groovy script" you can access global (and build) variables by:
def env = System.getenv() println(env['GLOBAL_VAR'])