Interface DependencyOptions
-
- All Superinterfaces:
OptionSupport
- All Known Subinterfaces:
BuildDependency
,Dependency
public interface DependencyOptions extends OptionSupport
Contains set of dependency options
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DependencyOptions.BuildContinuationMode
-
Field Summary
Fields Modifier and Type Field Description static EnumOption<DependencyOptions.BuildContinuationMode>
RUN_BUILD_IF_DEPENDENCY_FAILED
Indicates what should happen to a build if dependency failed.static EnumOption<DependencyOptions.BuildContinuationMode>
RUN_BUILD_IF_DEPENDENCY_FAILED_TO_START
Indicates what should happen to a build if dependency failed to start.static Option<java.lang.Boolean>
RUN_BUILD_ON_THE_SAME_AGENT
Whether a dependent build must be run on the same agent where its' dependency has run.static Option<java.lang.Boolean>
SYNCHRONIZE_REVISIONS
If set to false, disables revisions synchronization between dependent build and its dependency.static Option<java.lang.Boolean>
TAKE_STARTED_BUILD_WITH_SAME_REVISIONS
If this option is set to true TeamCity will try to replace build (part of a dependent builds graph) in queue with equivalent running or finished build (except personal, cancelled or probably hanging).static Option<java.lang.Boolean>
TAKE_SUCCESSFUL_BUILDS_ONLY
If this option is set to true TeamCity will replace build (part of a dependent builds graph) in queue with equivalent successful running or finished build.
-
Method Summary
-
Methods inherited from interface jetbrains.buildServer.util.OptionSupport
getChangedOptions, getDeclaredOption, getOption, getOptionDefaultValue, getOptions, getOwnOptions, setOption
-
-
-
-
Field Detail
-
TAKE_STARTED_BUILD_WITH_SAME_REVISIONS
static final Option<java.lang.Boolean> TAKE_STARTED_BUILD_WITH_SAME_REVISIONS
If this option is set to true TeamCity will try to replace build (part of a dependent builds graph) in queue with equivalent running or finished build (except personal, cancelled or probably hanging).
-
TAKE_SUCCESSFUL_BUILDS_ONLY
static final Option<java.lang.Boolean> TAKE_SUCCESSFUL_BUILDS_ONLY
If this option is set to true TeamCity will replace build (part of a dependent builds graph) in queue with equivalent successful running or finished build. If this option is set optionTAKE_STARTED_BUILD_WITH_SAME_REVISIONS
will be set too.
-
RUN_BUILD_ON_THE_SAME_AGENT
static final Option<java.lang.Boolean> RUN_BUILD_ON_THE_SAME_AGENT
Whether a dependent build must be run on the same agent where its' dependency has run. Options TAKE_STARTED_BUILD_WITH_SAME_REVISIONS and RUN_BUILD_ON_THE_SAME_AGENT are mutually exclusive.
-
SYNCHRONIZE_REVISIONS
static final Option<java.lang.Boolean> SYNCHRONIZE_REVISIONS
If set to false, disables revisions synchronization between dependent build and its dependency.- Since:
- 2019.1
-
RUN_BUILD_IF_DEPENDENCY_FAILED
static final EnumOption<DependencyOptions.BuildContinuationMode> RUN_BUILD_IF_DEPENDENCY_FAILED
Indicates what should happen to a build if dependency failed.
-
RUN_BUILD_IF_DEPENDENCY_FAILED_TO_START
static final EnumOption<DependencyOptions.BuildContinuationMode> RUN_BUILD_IF_DEPENDENCY_FAILED_TO_START
Indicates what should happen to a build if dependency failed to start.- Since:
- 9.0
-
-