title: Building two git repositories with Jenkins
body: <p><br/>
  I need to build two Maven projects which are available on Github. The first project produces a library which is needed by the second.
  What is the recommended option to do it in Jenkins ? <br />
  Create a shell script which checkout and build both projects (in the correct order). <br/>
  Use a pipeline ?
  If you could provide any example/ relevant link that would be great. Thanks</p>