Jenkins Pipeline Job with file parameter
I'm putting together a Jenkins pipeline job which will take a file parameter. I can trigger the job and point it at a file however I can't find where the file has ended up (In an ordinary freestyle job it would be in the workspace). Where has the uploaded file gone? Or do file parameters not currently work with pipelines? There is currently an issue with pipeline and file parameter ( https://issues.jenkins-ci.org/browse/JENKINS-27413 ). Christoph Forster Solved it the following way: node { deleteDir() stage("upload") { def inputFile = input message: 'Upload file', parameters: [file(name: 'data