title: Is there a way to get file name from file parameter for Jenkins build
body: <p>I have a freestyle Jenkins job that has a file parameter. To build the job someone has to go in on their local and select the file they would like to use. I'm running an execute shell build and I was wondering if there is anyway to get the original name of the file uploaded. I watched this youtube video: <a href="https://www.youtube.com/watch?v=-4iMrktR4ZQ&amp;t=632s" rel="nofollow noreferrer">https://www.youtube.com/watch?v=-4iMrktR4ZQ&amp;t=632s</a>. And they were able to get the path, but they are you using windows batch command, not execute shell.</p>