Skip to content

Yontrack promotion (yontrack-promotion)

Promotes a build in Yontrack

Configuration

  • branch - String - optional - [template] Name of the branch to promote. If not provided, looks for the event's branch if available.

  • build - String - optional - [template] Name of the build to promote. If not provided, looks for the event's build if available.

  • fields - List - required - Fields to set on the promotion run

    • name - String - required - Name of the field

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

  • project - String - optional - [template] Name of the project to promote. If not provided, looks for the event's project if available.

  • promotion - String - required - Name of the promotion level to use.

  • waitForPromotion - Boolean - required - Waiting for the promotion level associated notifications to be completed

  • waitForPromotionTimeout - String - required - Timeout when waiting for the promotion level associated notifications to be completed

Output

  • promotionLevelId - Int - required - ID of the linked promotion level

  • runId - Int - required - ID of the promotion run