Given the following simple pipeline
properties([
parameters([
fileParam( description:'', name: 'MYFILE')
])
])
node('master'){
stage('Clone One') {
echo "${MYFILE}"
echo params.MYFILE
}
}
It's a simple example, it does show the build as a parametrized build, it ask's for the input file, however, It does not list the file on params object value.
The first echo, returns the name of the file it self, and the second prints out NULL.
Problem, how can I access the actual uploaded file? The upload path? The temporary file name?