-
Bug
-
Resolution: Done
-
Blocker
-
Jenkins 2.32.1, branch-api-plugin 1.11.1, pipeline multibranch 2.9.2, subversion plugin 2.7.1
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.
- is duplicated by
-
JENKINS-42142 Multibranch pipeline does not find Jenkinsfile if not in a trunk/branches structure
- Closed
- links to