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

Extra folders option for Tag/Branch build listparameter.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • subversion-plugin
    • None

      For release jobs we like to use the list tags plugin as an build parameter.
      As svn allows almost any directory structure, we have archieved the hot fixes of a branch into a subfolder like the following example;

      branches/
      branches/versionA
      branches/versionB
      branches/versionC
      branches/hotfix/versionB_01
      branches/hotfix/versionB_02
      branches/hotfix/versionC_01

      In our jenkins job we like to be able to build every versionB release.
      To make this possible we had to extend the current listtagsparameter plugins with an extra option "extraListDirs" we use it like;

      url: url://somehere/.../branches
      extraListDirs: hotfix
      tagsFilter: versionB.*

      So the resulting dropdown contains;
      versionB
      hotfix/versionB_01
      hotfix/versionB_02

      I've created a small patch for this, if its done correctly is it possible to merge it ?

            recena Manuel Recena Soto
            tri_willemc Willem Cazander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: