The Jenkinsfile is currently designed to only capture the name of the uploaded file through a file parameter, rather than storing it within the workspace itself.
Please start posting anonymously - your entry will be published after you log in or create a new account.
This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss