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

Ability to build on configurable subset of matrix configurations

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • matrix-project-plugin
    • None
    • Platform: All, OS: All

      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

          [JENKINS-1613] Ability to build on configurable subset of matrix configurations

          Christian Wolfgang added a comment - - edited

          Yes, the core changes are in 1.416, so my guess is this upcoming Monday.
          I will release the plugin when 1.416 is released.

          Christian Wolfgang added a comment - - edited Yes, the core changes are in 1.416, so my guess is this upcoming Monday. I will release the plugin when 1.416 is released.

          Brian Murrell added a comment -

          Yes, the core changes are in 1.416, so my guess is this upcoming Monday.

          Oh. I thought this went into 1.413. From the Changelog:

          What's new in 1.413 (2011/05/22)
          ...
          Support rebuilding a subset of matrix configurations (issue 1613)
          ...

          Was the commit to 1.413 incomplete perhaps?

          Brian Murrell added a comment - Yes, the core changes are in 1.416, so my guess is this upcoming Monday. Oh. I thought this went into 1.413. From the Changelog: What's new in 1.413 (2011/05/22) ... Support rebuilding a subset of matrix configurations (issue 1613) ... Was the commit to 1.413 incomplete perhaps?

          Somewhat. The 1.413 always bases its rebuild from the latest successful build, the new change can base from any build.

          Christian Wolfgang added a comment - Somewhat. The 1.413 always bases its rebuild from the latest successful build, the new change can base from any build.

          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

          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

          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.

          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.

          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

          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

          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.

          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.

          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

          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

          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

          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

          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 ?

          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 ?

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

              Created:
              Updated:
              Resolved: