-
Improvement
-
Resolution: Postponed
-
Major
-
None
-
Jenkins 1.580.2, multijob-plugin 1.16, RHEL 5.5
It would be nice if a multijob job could optionally poll its children in addition to itself when polling for changes.
Rationale for enhancement:
The multijob type is ideal for componentized builds which can be built as individual components or together as a large package, by grouping individual standalone jobs that can be built in parallel. However, those standalone components can have their own SCM checkout steps different from the multijob itself (in my case the multijob is a container with no SCM checkout), which means the multijob that contains them can't detect whether or not there are changes when polling.
Super simplified scenario I'm facing:
Suppose you have a multijob that is merely a container for subjobs A, B, and C. A checks out code, B builds a component, and C does some bundling. In this configuration, there is no way to poll for changes without going outside of the multijob plugin and thus losing the benefits of it.
Created pull request #62 to add this feature.