title: How to replace a value to property file using Jenkins parameter
body: <p>I have settings.properties file where I have many key values pairs as below</p>
  
  <pre><code>browserName=Chrome
  ExecutionMode=Local
  </code></pre>
  
  <p>Am using settings.properties file to pass the input parameters to run the automation script.</p>
  
  <p>Example: When I run my jenkins jobs with build parameter for example, I am entering browserName as InternetExplorer it should replace the value in the settings.properties file.</p>
  
  <p>I am using the below command to achieve my target.</p>
  
  <p><code>echo browserName=%BROWSER_NAME% &gt;&gt; settings.properties</code></p>
  
  <p>But it is not replacing the "browserName=Chrome" instead it is adding "browserName=InternetExplorer" at the end.</p>
  
  <p>Please let me know how I can replace the browserName value?</p>