title: How to read properties file from Jenkins 2.0 pipeline script
body: <p>I am attempting to write a pipeline script to use with Jenkins 2.0 to replicate our existing build.  This original build used the envInject plugin to read a Java properties file, but I can't see how to do this from the pipeline Groovy script.  I have Googled and found the following, but it doesn't work (FileNotFoundException):</p>
  
  <pre><code>Properties props = new Properties()
  File propsFile = new File('./Builder/project.properties')
  props.load(propsFile.newDataInputStream())
  </code></pre>
  
  <p>Thanks!</p>