title: Set Jenkins global environment variables from a file
body: <p>Basically, I am running several jobs on Jenkins which have 2 different sets of email distribution lists, one for production, the other is for when we do the dry run. I want to be able to easily switch between the two. Currently, we have these as environment variables in the global properties section under 'Manage Jenkins'</p>
  
  <p><img src="https://i.stack.imgur.com/79zlK.png" alt="enter image description here"></p>
  
  <p>The problem is that I have to change these between the dry run and production run (there is a email distro for each app). I want to put these into a properties file so I can easily switch. I thought I could do this, but it didn't work:</p>
  
  <p><img src="https://i.stack.imgur.com/Jnxiq.png" alt="enter image description here"></p>