title: Run tests using Jenkins in a Docker Container
body: <p>I've seen a few resources that connect Jenkins and Docker, but none exactly like what I'm trying to do, which is to have Jenkins:</p>
  
  <ol>
  <li>Pull latest code from GitHub</li>
  <li>Start Docker container and share pulled code with it</li>
  <li>Run tests in Docker container</li>
  <li>Generate report of test results</li>
  </ol>
  
  <p>I'm lost on how to get code from GitHub into my Docker container when using Jenkins. I have the container that I use for local testing, but am trying to automate the process with Jenkins. Can anyone point me in the right direction?</p>