DevopsQualityGateRule

Defines the criteria that must be evaluated as part of a quality gate assessment within the DevOps process. Each rule specifies a validation condition, such as severity, pass percentage, or essential test requirements, along with an optional threshold value. These rules are used to determine whether a quality gate passes or fails before allowing progression through the deployment pipeline.

Introduced in API version 67.0.

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: References the quality gate to which this rule belongs.
  • Relationship name: DevopsQualityGate
  • Relationship type: masterdetail
  • Refers to: DevopsQualityGate
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: System-generated unique identifier for the quality gate rule record.
  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

  • Description:

    Specifies the rule used to evaluate the quality gate.

    The default value is SEVERITY.

  • Possible values:

    • ESSENTIAL — ESSENTIAL
    • PASS_PERCENTAGE — PASS_PERCENTAGE
    • SEVERITY — SEVERITY (default)
  • Default value: SEVERITY

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Defines the threshold value used when evaluating the quality gate rule.