title: how to configure settings.xml in jenkins pipleline goovy file?
body: <p>I have my own <code>settings.xml</code> in my workspace which will help me in getting the jars from a repo
  Now I want to configure this settings.xml in the Jenkins pipeline file, how can I do that?</p>
  
  <p>where/how should I add the <code>settings.xml</code> in the groovy file? Can someone help me with the command which will help in configuring the <code>settingns.xml</code></p>
  
  <pre><code>stage('Run') {
          steps {
                 echo 'Running....'
                 sh """#!/bin/bash -e
                        pwd
                        ls -al
                        cd sanity
                        mvn clean test pom.xml
                        ls -al """
               }
             }
  </code></pre>