-
Bug
-
Resolution: Unresolved
-
Minor
I have a Jenkins Pipeline like this:
properties([parameters([ [$class: 'FileSystemListParameterDefinition', name: 'fileName', path: '/some/path/on/master/node', description: 'my file', selectedType: 'FILE', regexIncludePattern: '(.*?)\\.yml' ] ])]) node('master') { echo "hello world" }
Current behaviour:
- Click "Build with parameters"
- My files show up in the parameters dropdown
- Click "Build"
- Again, click "Build with parameters"
- The dropdown is empty
- Configure the job
- Change anything inside the job, e.g. change echo "hello world" to echo "hello mars"
- Save and again click "Build with parameter"
- My files show up in the parameters dropdown
Expected behaviour:
Same except step 5 where the dropdown should still contain the file list.