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

Try to find most relevant jobs when building the dependency graph and multiple jobs build the same maven module

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Similar Issues:
      Show 5 results

      Description

      If there are multiple jobs building the same maven module, currently it's more or less random which of these jobs is included in Jenkins' dependency graph.
      The mechanism should be improved to choose the more relevant jobs - if possible - and the deliver predictable results.

      I've implemented a prototype here:
      https://github.com/kutzi/jenkins/commit/0e64a6ff3f9cb424b3f6b3adfa06ec1eb134e72c

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            maven-plugin/src/main/java/hudson/maven/MavenModule.java
            http://jenkins-ci.org/commit/jenkins/b8aec882f28bbbd889ebc1f4a761ed1310353040
            Log:
            [FIXED JENKINS-10366] choose most 'relevant' job for dependency graph if multiple jobs are building the same maven module

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: maven-plugin/src/main/java/hudson/maven/MavenModule.java http://jenkins-ci.org/commit/jenkins/b8aec882f28bbbd889ebc1f4a761ed1310353040 Log: [FIXED JENKINS-10366] choose most 'relevant' job for dependency graph if multiple jobs are building the same maven module
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/315d2b611b1278014493c89fde99c9f1603e334a
            Log:
            Changelog for JENKINS-10366 JENKINS-10367

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html http://jenkins-ci.org/commit/jenkins/315d2b611b1278014493c89fde99c9f1603e334a Log: Changelog for JENKINS-10366 JENKINS-10367
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            maven-plugin/src/main/java/hudson/maven/MavenModule.java
            http://jenkins-ci.org/commit/jenkins/b8aec882f28bbbd889ebc1f4a761ed1310353040
            Log:
            [FIXED JENKINS-10366] choose most 'relevant' job for dependency graph if multiple jobs are building the same maven module

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: maven-plugin/src/main/java/hudson/maven/MavenModule.java http://jenkins-ci.org/commit/jenkins/b8aec882f28bbbd889ebc1f4a761ed1310353040 Log: [FIXED JENKINS-10366] choose most 'relevant' job for dependency graph if multiple jobs are building the same maven module
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/315d2b611b1278014493c89fde99c9f1603e334a
            Log:
            Changelog for JENKINS-10366 JENKINS-10367

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html http://jenkins-ci.org/commit/jenkins/315d2b611b1278014493c89fde99c9f1603e334a Log: Changelog for JENKINS-10366 JENKINS-10367
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            src/main/java/hudson/maven/MavenModule.java
            http://jenkins-ci.org/commit/maven-plugin/0a9633e6d00d2fe6f44dd314c2a40236858ecd11
            Log:
            [FIXED JENKINS-10366] choose most 'relevant' job for dependency graph if multiple jobs are building the same maven module
            Originally-Committed-As: b8aec882f28bbbd889ebc1f4a761ed1310353040

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/main/java/hudson/maven/MavenModule.java http://jenkins-ci.org/commit/maven-plugin/0a9633e6d00d2fe6f44dd314c2a40236858ecd11 Log: [FIXED JENKINS-10366] choose most 'relevant' job for dependency graph if multiple jobs are building the same maven module Originally-Committed-As: b8aec882f28bbbd889ebc1f4a761ed1310353040

              People

              • Assignee:
                kutzi kutzi
                Reporter:
                kutzi kutzi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: