title: Fill Jenkins Parameters with current file paths in a directory on the build machine
body: <p>Is there a dynamic way to list files on a directory as choice parameters before jenkins build starts?
  I've seen a couple of plugins but I'm not quite sure if that's the way to go.</p>
  
  <p>plugin 1: <a href="https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Parameter+Plug-in" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Parameter+Plug-in</a>
  plugin 2: <a href="https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin</a></p>
  
  <p>So basically what I have is a directory with "file1", "file2", .., "fileN"</p>
  
  <p>I want to be able to list them as choice parameter.</p>