Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59658

ListSubversionTagsParameterDefinition params-Variable is null

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: subversion-plugin
    • Labels:
    • Environment:
      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
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              peter_wolf Peter Wolf
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: