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

Fail-fast Matrix builds, as soon some configuration fail

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • matrix-project-plugin
    • None

      If my latest matrix build was successful, during my next execution, the overall project status is the same as the latest build status until the entire build is done.
      I was checking the sources and noted the "problem" is the hudson.matrix.DefaultMatrixExecutionStrategyImpl.waitForCompletion(MatrixBuildExecution, MatrixConfiguration) method that blocks until the configuration is done, inside a loop over all configurations.
      Maybe if this method do a "checkForCompletion" and update the build status for every configurations that finishes (I know it's not a trivial solution), we could have a fail-fast solution for matrix projects.

          [JENKINS-24020] Fail-fast Matrix builds, as soon some configuration fail

            kohsuke Kohsuke Kawaguchi
            bkmeneguello Bruno Meneguello
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: