-
Bug
-
Resolution: Unresolved
-
Major
-
64-bit Oracle JVM 1.8.0_221
Jenkins 2.181
Subversion plugin 2.12.1
Pipeline plugin 2.6
Pipeline: Groovy plugin 2.70
In my scripted pipeline i use:
...
parameters([[$class: 'ListSubversionTagsParameterDefinition', defaultValue: 'trunk', maxTags: '', name: 'SVN_BRANCH', reverseByDate: true, reverseByName: false, tagsDir: '_http://svnRepo_', tagsFilter: 'trunk|tags/.*|branches/.*'],
string(defaultValue: 'HEAD', description: '', name: 'REVISION', trim: false)])
println "Params: ${params}"
...
Everytime the output is:
[Pipeline] echoParams: [REVISION=HEAD, SVN_BRANCH=null]
although the defaultValue=trunk.