ListSubversionTagsParameterDefinition params-Variable is null

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Peter Wolf
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: