• Icon: Improvement Improvement
    • Resolution: Postponed
    • Icon: Major Major
    • multijob-plugin
    • 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.

          [JENKINS-26715] Multijob plugin support for polling subjobs

          Caleb Mayeux added a comment -

          Created pull request #62 to add this feature.

          Caleb Mayeux added a comment - Created pull request #62 to add this feature.

          Code changed in jenkins
          User: itaior
          Path:
          src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobProject.java
          src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobProject/configure-entries.jelly
          http://jenkins-ci.org/commit/tikal-multijob-plugin/b60908714a848a7bf6f8160e744defb47c23440f
          Log:
          Merge pull request #62 from Buzzard44/poll-subjobs

          JENKINS-26715 Add option for polling subjobs

          Compare: https://github.com/jenkinsci/tikal-multijob-plugin/compare/e6ab43f5f975...b60908714a84

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: itaior Path: src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobProject.java src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobProject/configure-entries.jelly http://jenkins-ci.org/commit/tikal-multijob-plugin/b60908714a848a7bf6f8160e744defb47c23440f Log: Merge pull request #62 from Buzzard44/poll-subjobs JENKINS-26715 Add option for polling subjobs Compare: https://github.com/jenkinsci/tikal-multijob-plugin/compare/e6ab43f5f975...b60908714a84

          Closing issue as part of tikal-multijob-plugin issues cleanup.
          If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

          Yoram Michaeli added a comment - Closing issue as part of tikal-multijob-plugin issues cleanup. If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

            calebmayeux Caleb Mayeux
            calebmayeux Caleb Mayeux
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: