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

Branch indexing on subversion repo does not work properly

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The multibranch indexer does not traverse sub-folders in subversion branches, if their revision is older than the parent directory.

      Include Branches: tags/*/projects/productname
      

      Given this folder structure in the trunk:

      projects/                -> r1
        productname/           -> r2
          Jenkinsfile          -> r3
      

      Branching projects into tags/1.0/projects yields

      tags/                     -> r4
        1.0/                    -> r4
          projects/             -> r1
             productname/       -> r2
               Jenkinsfile      -> r3
      

      Note that r4 is only applied to the new folders, and the branched folders retain their original revision (because they haven't changed).

      The expected behaviour here (and surely, the purpose of the multi-branch system), is for it to automatically detect the new branch and generate jobs from its Jenkinsfiles.

      The branch indexer should be able to work out that the 1.0/ folder didn't exist before, and index everything inside it at least once regardless of its revision.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jfemia James Femia
              • Votes:
                9 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: