Skip to content

Yontrack dependencies promotion (yontrack-dependencies-promotion)

Promotes the builds linked from the build of the event

Configuration

  • fields - List - required - Fields to set on the promotion runs. Their values are rendered once from the event and set on every run.

    • name - String - required - Name of the field

    • value - String - required - [template] Value of the field

  • project - String - optional - Regular expression which must match the whole name of the project of the linked build. If blank or not provided, all projects are selected.

  • promotion - String - required - Name of the promotion level to use, the same for all the linked builds.

  • qualifier - String - optional - Regular expression which must match the whole qualifier of the link. If not provided, all links are selected. An empty value selects the unqualified links only.

  • waitForPromotion - Boolean - required - Waiting for the notifications of the promotion runs created by this notification to be completed

  • waitForPromotionTimeout - String - required - Timeout when waiting for the notifications of the created promotion runs to be completed

Output

  • targets - List - required - Linked builds selected by this notification, and what happened to each of them

    • branch - String - required - Branch of the target

    • build - String - required - Name of the target build

    • message - String - optional - Reason, when skipped or failed

    • project - String - required - Project of the target

    • qualifiers - List - required - Matching link qualifiers. An unqualified link has an empty qualifier.

    • runId - Int - optional - ID of the created promotion run, when promoted

    • status - PROMOTED, SKIPPED, FAILED - required - Outcome for this target: PROMOTED, SKIPPED or FAILED