title: Jenkins builds loop list
body: <p>I am trying to figure out a way to have one list of parameters, and have Jenkins create a job or run a build for each of the items in the list. </p>
  
  <p>The parameter is a directory, so I have a list of directories, and I want it to work so for each of them, the build runs several steps - so basically for each directory, run git pull, ant command, ant command, ant command with the directory name, publish test results, next build.</p>
  
  <p>I have looked at a bunch of plugins but I can't figure out how to do this to get it to go to the next item in the list until they're all done. </p>