We have branch based build plans in bamboo. Our requirement is to run only feature branch build plan when it is committed , but for us even Integration build plan is also getting triggered along with feature build. How this can be resolved?
Hi Monica,
I would start investigating the trigger configuration in the integration build plan. If the repository is the same, you have a trigger configured to build your plan on new changes and you have that plan branch, the integration build plan will run the build.
Things to check:
Hi Daniel,
Below is the trigger configuration. Integration branch is the default branch configured to manage bamboo java-specs.
PFB, snippet of automatic branch management from planspec:
return new Plan(project(), "file-interface-handler-feature-build",
"FILEHANDLERBUILD").triggers(new BitbucketServerTrigger()).linkedRepositories("file-interface-handler")
.description("File Interface Handler Feature Build")
.planBranchManagement(new PlanBranchManagement()
.createForVcsBranchMatching("^feature/.*").delete(new BranchCleanup()
.whenRemovedFromRepositoryAfterDays(5).whenInactiveInRepositoryAfterDays(7))
.notificationForCommitters())
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.