Build feature enabling automatic merge in build configuration or template.
Example. Upon finishing of a build in a branch with name starting with 'feature-' prefix, performs merge of the branch into the default branch, but only if no new tests failed comparing to the latest build in the default branch. Also tries to perform fast-forward merge if possible.
// Other Build Type settings ...
// Other Build Features ...}
branchFilter = "+:feature-*"
mergePolicy = AutoMerge.MergePolicy.FAST_FORWARD
mergeCondition = "noNewTests"
}Content copied to clipboard
Creates an instance of this build feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.