Skip to content

Auto promotion

ID: net.nemerosa.ontrack.extension.general.AutoPromotionPropertyType

Allows a promotion level to be granted on a build as soon as a list of validation stamps and/or other promotions has been passed

Scope

  • promotion level

Configuration

  • autoRevoke - Boolean - required - When enabled, the promotion is revoked as soon as one of its prerequisites - a required validation stamp or a required promotion - is no longer valid. Revoking a promotion deletes it, but does not undo its effects: any notification or workflow already triggered by the promotion remains fired.

  • exclude - String - required - Regular expression to exclude validation stamps by name

  • include - String - required - Regular expression to include validation stamps by name

  • promotionLevels - List - required - List of needed promotion levels

  • validationStamps - List - required - List of needed validation stamps