CI/CD Pipeline Retriggering Using Failure-Aware Rule Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In large CI/CD systems, failed builds can consume substantial resources due to the need to retrigger pipelines that have failed, leading to inefficiencies and resource overuse.

Innovation Solution

A rule engine is utilized to analyze build server data and apply predefined rules to selectively retrigger only those pipelines that meet specific criteria, such as resource availability and failure type, thereby optimizing resource use and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all failed pipelines are retriggered in large CI/CD systems, then comprehensive bug fixing can be achieved, but resource consumption increases substantially

Engineering Contradiction:
Improvebuild success rateVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent segments the set of all failed pipelines into different categories based on failure types (infrastructure failures vs. code bugs). By dividing the retriggering task into targeted segments rather than processing all failures uniformly, the system retriggeres only the necessary subset of pipelines, thereby reducing resource consumption while maintaining build reliability.

Inventive Principle:
Principle #1Segmentation

2Productivity

If selective retriggering is implemented using a rule engine, then resource efficiency improves, but system complexity increases

Engineering Contradiction:
Improvepipeline execution efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a rule engine as an intermediary component between the CI/CD system and the pipeline retriggering process. This intermediary automatically analyzes pipeline failure data, applies predefined rules to determine which pipelines need retriggering, and executes the selective retriggering. While this adds a component to the system, it automates the decision-making process and improves productivity by eliminating manual analysis.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Use of energy by moving object

If manual analysis of failed builds is performed, then resource consumption is reduced, but time consumption increases

Engineering Contradiction:
Improveresource consumptionVSAvoidtime for build analysis
Core Design Contradiction:
Use of energy by moving objectVSLoss of time

Solution Approach 1:

The patent implements a self-service mechanism where the rule engine automatically analyzes failed build data and makes decisions about which pipelines to retrigger without requiring manual human analysis. The system serves itself by autonomously processing failure information, applying rules, and executing retriggering decisions, thereby reducing both resource consumption and time loss simultaneously.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12585463B2Selective triggering of continuous integration, continuous delivery (CI/CD) pipelines
Publication Date: 2026.03.24 RED HAT LLC
  • US12585463B2 patent drawing
  • US12585463B2 patent drawing
  • US12585463B2 patent drawing

AI summary

A method of improving continuous integration, continuous delivery (CI/CD) pipelines includes receiving an indication of a failure of a CI/CD pipeline of a plurality of CI/CD pipelines. The method further includes processing build status information by a rule engine, the build status information indicative of builds executed within the plurality of CI/CD pipelines. The method further includes applying a set of rule to the build status information to select a subset of the plurality of CI/CD pipelines, wherein the set of rules includes one or more of a resource availability rule or a failure type rule. The method further includes executing the subset of CI/CD pipelines selected by the rule engine.