Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Ubuntu 14.04 x86_61
Jenkins 2.12
Open JDK 7
Multi-Branch Project Plugin 0.5
Description
According to the plugin wiki (https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin):
Sub-projects appear to be configurable, but they will be overwritten by branch indexing if you manually modify them.
But after I made changes to sub-branch project and run branch-indexing,
the sub-branch project configuration is not overwritten,
and further changes from Multi-branch configuration is not sync over to sub-branch project anymore.
Symptom:
You will see Detected unsupported subitem f.q.ClassName@hash[my-multibranch-project/my-branch], skipping in the indexing log.
Which fields are you changing?
There is an outstanding issue
JENKINS-21017which causes configuration to not be updated when updating by XML. This is the mechanism multi-branch-project-plugin uses to apply changes to the sub-projects. I have workarounds in place for a couple fields https://github.com/jenkinsci/multi-branch-project-plugin/blob/multi-branch-project-plugin-0.5/src/main/java/com/github/mjdetullio/jenkins/plugins/multibranch/TemplateDrivenBranchProjectFactory.java#L128