title: Error in initialising properties file in Jenkins
body: <p>I have "OR.properties" properties file in package "com.ma.config" under source folder "src/test/java".  I am using following code to initialize the properties file but it is giving error "Error in initialising propertis file" when I run in jenkins but working fine locally through eclipse. can you please help me in resolving this issue:  </p>
  
  <pre><code> static Properties OR;
   public WebConnector(){
      if(OR==null){
          //initialize OR
       try{
           //initilalize OR
           OR = new Properties();
           FileInputStream fs = new FileInputStream(System.getProperty("user.dir")+"\\src\\test\\java\\com\\ma\\config\\OR.properties");
           OR.load(fs);
       }catch(Exception e){
           System.out.println("Error in initialising propertis file");
       }}}
  </code></pre>