Skip to main content
Version: 5.10.x

UpdateStrategy

Defines the strategy used to update the branch or tag when the checkout task is configured.

Table of contents

Enumeration Members

Enumeration Members

REBASE

REBASE = "rebase"

The result of the pull / merge request will be checked out and built. This strategy will attempt to find the branches merge base, and instruct the user how to rebase their branch locally. If the merge base can not be calculated, then this strategy will fall back to a less precise merge command. If no pull request is detected, then this operation is a no-op.


MERGE

MERGE = "merge"

The result of the pull / merge request will be checked out and built. This strategy will instruct the user how to perform the merge locally. If no pull request is detected, then this operation is a no-op.