Class AfterSuccessfulBuildPlanTrigger
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.trigger.Trigger<AfterSuccessfulBuildPlanTrigger,AfterSuccessfulBuildPlanTriggerProperties>
com.atlassian.bamboo.specs.builders.trigger.AfterSuccessfulBuildPlanTrigger
public class AfterSuccessfulBuildPlanTrigger
extends Trigger<AfterSuccessfulBuildPlanTrigger,AfterSuccessfulBuildPlanTriggerProperties>
Trigger which schedule a deployment when plan build complete.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.api.builders.trigger.Trigger
conditions, description, name, triggerEnabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
triggerByBranch
(@Nullable String planBranchName) Configure trigger to start deployment when plan branch is updated.Configure trigger to start deployment when plan master branch is updated.Methods inherited from class com.atlassian.bamboo.specs.api.builders.trigger.Trigger
conditions, description, enabled, name
-
Constructor Details
-
AfterSuccessfulBuildPlanTrigger
- Throws:
PropertiesValidationException
-
-
Method Details
-
triggerByMasterBranch
Configure trigger to start deployment when plan master branch is updated. -
triggerByBranch
Configure trigger to start deployment when plan branch is updated.- Parameters:
planBranchName
- name of plan branch. If value is null it's the same astriggerByMasterBranch()
-
build
- Specified by:
build
in classTrigger<AfterSuccessfulBuildPlanTrigger,
AfterSuccessfulBuildPlanTriggerProperties>
-