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

Ability to build on configurable subset of matrix configurations

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: matrix-project-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All

      Description

      It is useful sometimes to perform build on predefined number of slave builders
      assigned to multi-configuration job. For example, if some OS builds failed, and
      we wish to re-build only them after code fixed

        Issue Links

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christian Wolfgang
          Path:
          core/src/main/java/hudson/matrix/MatrixBuild.java
          core/src/main/java/hudson/matrix/listeners/MatrixBuildListener.java
          http://jenkins-ci.org/commit/jenkins/f10b5eb4cd2d1d1fd68f0c469f7a9a78e45c68a4
          Log:
          More on JENKINS-1613

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christian Wolfgang Path: core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/java/hudson/matrix/listeners/MatrixBuildListener.java http://jenkins-ci.org/commit/jenkins/f10b5eb4cd2d1d1fd68f0c469f7a9a78e45c68a4 Log: More on JENKINS-1613
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/0203876cb01f0cfee1c790a3102a3508ff4f6a48
          Log:
          [FIXED JENKINS-1613] Ability to build on configurable subset of matrix
          configurations

          This change introduces the necessary extension point. The implementation
          of this will be in a plugin.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html http://jenkins-ci.org/commit/jenkins/0203876cb01f0cfee1c790a3102a3508ff4f6a48 Log: [FIXED JENKINS-1613] Ability to build on configurable subset of matrix configurations This change introduces the necessary extension point. The implementation of this will be in a plugin.
          Hide
          salimfadhley salimfadhley added a comment -

          One problem with the current implementation is it's effect on the build history graph - suppose you incrementally re-run parts of an unreliable matrix build, it gives the impression that the number of tests in each run are diminishing - when in actual fact the number of tests remain constant, we are just running a smaller subset.

          Would it be possible to alter this so that results from previous runs which are not re-executed by Matrix Reloaded are carried forwards. That means I'd like to see the height of the bar-graph remain constant with the red proportion gradually diminishing with each additional build.

          Here's a slightly exaggerated screenshot which illustrates the problem:

          http://imgur.com/HEV9J

          Show
          salimfadhley salimfadhley added a comment - One problem with the current implementation is it's effect on the build history graph - suppose you incrementally re-run parts of an unreliable matrix build, it gives the impression that the number of tests in each run are diminishing - when in actual fact the number of tests remain constant, we are just running a smaller subset. Would it be possible to alter this so that results from previous runs which are not re-executed by Matrix Reloaded are carried forwards. That means I'd like to see the height of the bar-graph remain constant with the red proportion gradually diminishing with each additional build. Here's a slightly exaggerated screenshot which illustrates the problem: http://imgur.com/HEV9J
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christian Wolfgang
          Path:
          core/src/main/java/hudson/matrix/MatrixBuild.java
          core/src/main/java/hudson/matrix/listeners/MatrixBuildListener.java
          http://jenkins-ci.org/commit/matrix-project-plugin/1b135d4cbc08da6959faf63842023962276675c8
          Log:
          More on JENKINS-1613

          Originally-Committed-As: f10b5eb4cd2d1d1fd68f0c469f7a9a78e45c68a4

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christian Wolfgang Path: core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/java/hudson/matrix/listeners/MatrixBuildListener.java http://jenkins-ci.org/commit/matrix-project-plugin/1b135d4cbc08da6959faf63842023962276675c8 Log: More on JENKINS-1613 Originally-Committed-As: f10b5eb4cd2d1d1fd68f0c469f7a9a78e45c68a4
          Hide
          rayeesn Rayees Namathponnan added a comment -

          Subset start jobs with new Run number, it will generate separate report;

          Is it possible to make option to append result with its parent job number ?

          Example Executed Job 100, there are 5 failure, if you rebuild the subset, starting job from 101; instead of this can append this with 100 itself ?

          Show
          rayeesn Rayees Namathponnan added a comment - Subset start jobs with new Run number, it will generate separate report; Is it possible to make option to append result with its parent job number ? Example Executed Job 100, there are 5 failure, if you rebuild the subset, starting job from 101; instead of this can append this with 100 itself ?

            People

            • Assignee:
              wolfgang Christian Wolfgang
              Reporter:
              jazzjack jazzjack
            • Votes:
              12 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: