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.
plugin 1: https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Parameter+Plug-in plugin 2: https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin
So basically what I have is a directory with "file1", "file2", .., "fileN"
I want to be able to list them as choice parameter.