title: How to Inject property file in Jenkins and use it values in Java Code
body: <p>I want to pass username and password in Jenkins by passing through property file and Use this credential in Java program to login to my app.</p>
  
  <ol>
  <li>Inject property file in Jenkins</li>
  <li>Use credentials from that file in my Java program to login to my app.</li>
  </ol>
  
  <p>OR,
  Other way around it, I can pass it as Password passing parameter for my jenkins job but I am not getting a way to fetch this password in my java program.</p>
  
  <p>Any help would be appreciated. Thanks in advance. </p>