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

List subversion tags does not show branches child elements if the 'tags' directory is missing from SVN.

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • subversion-plugin
    • None

      When using the List subversion tags (and more) parameter the drop-down list only contains 'trunk' and 'branches' rather than 'trunk', 'branches/child1'.

      To fix I created 'tags' directory in SVN and the normal behaviour resumes.

          [JENKINS-44416] List subversion tags does not show branches child elements if the 'tags' directory is missing from SVN.

          Jesse Glick added a comment -

          As designed. It shows only direct children of the specified URL.

          Jesse Glick added a comment - As designed. It shows only direct children of the specified URL.

          I think this is a minor issue, as the work-around is easy and many people would create branches, tags and trunk folders as a matter of course.

          I disagree that the 'as designed' shows the children of the specified URL, which would be the root of a project. When all folder are present it shows trunk (child) and the children of branches and the children of tags.

          You don't execute a build on tags, but tags/1.0, or you don't execute a build on branches, but branches/fix1.

          If the tags folder is missing, the drop-down list contains literal: 'branches', not its children.

          Marcus Collins added a comment - I think this is a minor issue, as the work-around is easy and many people would create branches, tags and trunk folders as a matter of course. I disagree that the 'as designed' shows the children of the specified URL, which would be the root of a project. When all folder are present it shows trunk (child) and the children of branches and the children of tags. You don't execute a build on tags, but tags/1.0, or you don't execute a build on branches, but branches/fix1. If the tags folder is missing, the drop-down list contains literal: 'branches', not its children.

          Jesse Glick added a comment -

          The URL you specify must be that of the tags folder or some local equivalent. Otherwise the functionality makes no sense.

          Jesse Glick added a comment - The URL you specify must be that of the tags folder or some local equivalent. Otherwise the functionality makes no sense.

            Unassigned Unassigned
            mbtc Marcus Collins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: