Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,959
Community Members
 
Community Events
185
Community Groups

Feature branch based build plan in bamboo triggers integration build plan as well

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?

 

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 17, 2018

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:

  •  What is the Trigger configured?
  •  Are you using the Automatic branch management to create the branches in your integration build plan?
    If yes, the plan branches of that feature will be created and possibly triggered (depending on your trigger configuration)
  •  In case you have that feature branch as a plan branch in your integration build plan, should it really be there?
    Maybe your automatic branch configuration should be set with a regular expression to avoid creating plan branches that should not be there?
  • What are the conditions to trigger the integration build plan? (no new changes, scheduled trigger, remote trigger,...)

Hi Daniel,

Below is the trigger configuration. Integration branch is the default branch configured to manage bamboo java-specs.

Trigger.jpg

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

Daniel,

Any help on the above query.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events