title: How to clone multiple git repos into the same workspace folder in Jenkins
body: <blockquote>
  <p><strong>Jenkins - v2.148</strong></p>
  <p><strong>Multiple SCMs plugin - v0.6</strong></p>
  </blockquote>
  <p>There are multiple microservices in my project, In VSTS each falls under different git repository URLs. I'm trying to configure each of these microservice repos in jenkins.</p>
  <p>Using Multiple SCMs plugin, I was able to add each repository using <strong>Add Repository</strong> option but whenever I initiate the build job, each repositories are being cloned into the same workspace folder. When the next repository in the queue is cloned, previously cloned code is removed. At the end, only the last repository source remains in the workspace folder.</p>
  <p><strong>Check out to sub-directory</strong> option didn't work, as this option is not available for each repository so that I could have configured each repo to clone into respective sub folders under the work space.</p>
  <p><a href="https://i.stack.imgur.com/2dNJi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2dNJi.png" alt="enter image description here" /></a></p>
  <p>Is there a way to clone all the repos configured in Jenkins into separate folders into the workspace folder during a build job?</p>