Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Should I create a project, plan, stage, job or a task?

In Bamboo, we have projects, then we have plans, then we have stages, each stage has a list of jobs and finally, each job has one or more tasks. I know that jobs can run in parallel, tasks in a job run sequentially and stages also take place one after another.  Now this gives us a lot of flexibility in terms of organizing our jobs. But besides providing this flexibility, is this classification meant to be so that each has it's own use case? Let me give you an example of a typical build process that we have: 

  Obviously, we have several git branches that correspond to different environments. 

  1. Check out the right branch from git repo
  2. Compile, run unit tests and package it with maven. This is done with a single command.
  3. Take the version of the artifact and keep it in a variable to use it in the later steps
  4. Build the docker image based on the Dockerfile that's found in the project root
  5. Run the image and push it to a kubernetes cluster.

Can you give an example on how to split this 5 step process into plans/stages/jobs/tasks. It's probably going to be in the same one plan. But again then, when do I create another plan. What's the use case for that? When do I create another project?

1 answer

1 accepted

1 vote
Answer accepted
Jimmy Seddon Community Leader May 22, 2019

Hi @mikayil-abdullah,

From what I have seen project are really good at grouping categories of plan together.  Plans are listed alphabetically so projects allow you to group plans that belong together into their own groupings.

As for when you would create additional plans really comes down to how you want and choose to use Bamboo.

We have a number of small git repos that each have their own plan and build an artifact.  We did it this way so that we are re-building the entire set of artifacts in the plan every time a change is made.  We only re-build what was changed.

We then have another build plan (that is a child plan of all the other build plans) that collects the latest built version of the artifacts and bundles them into a deployment package.

I hope that helps provide some insight, I'm not sure if it helped answer your question or not.

-James

You know, this question comes as a result of lack of enough CI/CD experience. Thanks for the answer

Like Jimmy Seddon likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

987 views 0 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you