title: Setting environment variables in Jenkins with a bat file?
body: <p>Currently I have a batch file that sets all the environment variables needed before starting the build process.</p>
  
  <p>It's a must to use the same bat for setting the env variables.</p>
  
  <p>I tried to use EnvInject Plugin, didn't have any success. </p>
  
  <p>Also tried "Execute Windows batch command" before running msbuild. e.g. start mybat.bat - this didn't seem to work either</p>
  
  <p>How can I integrate the same bat file to set the variables?</p>