public class VcsChangeDetection extends EntityPropertiesBuilder<VcsChangeDetectionProperties>
These option control features around change detection an build triggering, such as: filtering of changes, commit isolation, etc.
Modifier and Type | Class and Description |
---|---|
static class |
VcsChangeDetection.FileFilteringOption |
Constructor and Description |
---|
VcsChangeDetection() |
Modifier and Type | Method and Description |
---|---|
protected VcsChangeDetectionProperties |
build() |
VcsChangeDetection |
changesetFilterPatternRegex(String changesetFilterPatternRegex)
Excludes certain changes from being picked up by Bamboo.
|
VcsChangeDetection |
commitIsolationEnabled(boolean commitIsolationEnabled)
Enables/disables commit isolation.
|
VcsChangeDetection |
configuration(Map<String,Object> configuration)
Sets plugin specific custom configuration.
|
VcsChangeDetection |
filterFilePatternOption(VcsChangeDetection.FileFilteringOption filterFilePatternOption)
Selects method of filtering commits by affected files.
|
VcsChangeDetection |
filterFilePatternRegex(String filterFilePatternRegex)
Sets regular expression to be used when filtering commits by affected files.
|
VcsChangeDetection |
quietPeriod(Duration quietPeriod)
Defines quiet period duration, that is time Bamboo should wait after a new change, before initiating a build.
|
VcsChangeDetection |
quietPeriodEnabled(boolean quietPeriodEnabled)
Enables/disables quiet period feature on the repository.
|
VcsChangeDetection |
quietPeriodInSeconds(int quietPeriodInSeconds)
Defines quiet period duration in seconds, that is time Bamboo should wait after a new change, before initiating a build.
|
VcsChangeDetection |
quietPeriodMaxRetries(int maxRetries)
Defines maximum retries count for quiet period, that is how many time Bamboo should check for new changes before
initiating a build regardless of the outcome.
|
public VcsChangeDetection quietPeriodEnabled(boolean quietPeriodEnabled)
Quiet period allows you to delay building after a single commit is detected, aggregating multiple commits per build. Feature is disabled by default.
public VcsChangeDetection quietPeriod(Duration quietPeriod)
public VcsChangeDetection quietPeriodInSeconds(int quietPeriodInSeconds)
public VcsChangeDetection quietPeriodMaxRetries(int maxRetries)
public VcsChangeDetection commitIsolationEnabled(boolean commitIsolationEnabled)
public VcsChangeDetection configuration(@Nullable Map<String,Object> configuration)
This fields exists for the sole purpose of future extensibility. As of Bamboo version 6.0, no plugins using this field exist.
public VcsChangeDetection changesetFilterPatternRegex(@Nullable String changesetFilterPatternRegex) throws PropertiesValidationException
changesetFilterPatternRegex
- a regular expression to match the commit messages to be excluded.PropertiesValidationException
public VcsChangeDetection filterFilePatternOption(@Nullable VcsChangeDetection.FileFilteringOption filterFilePatternOption) throws PropertiesValidationException
Possible values:
PropertiesValidationException
public VcsChangeDetection filterFilePatternRegex(@Nullable String filterFilePatternRegex) throws PropertiesValidationException
filterFilePatternRegex
- a regular expression to match the file to be included / excludedPropertiesValidationException
protected VcsChangeDetectionProperties build() throws PropertiesValidationException
build
in class EntityPropertiesBuilder<VcsChangeDetectionProperties>
PropertiesValidationException
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences