Difference between build and deploy in Bamboo about expiration

0 votes
What's needed in the question is a comparison of the terms "build" and "deploy" on Bamboo, specifically how the two differ in their timeout or lifespan in the platform. The answer should describe how Bamboo deals with builds and deployments over time-that is, how long each artifact or outcome is available before being deleted or archived.
Oct 23, 2024 in DevOps Tools by Anila
• 5,070 points
175 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

In Bamboo, "build" and "deploy" processes have different objectives as well as different handling of expiration.
Build Expiration:
Builds are created after compiling and testing changes in code. Even though Bamboo preserves the history of a build as part of records, older builds will consume unnecessary storage.
Build Expiration: Build expiration policies automatically eliminate older or less relevant builds. You can control how many builds Bamboo should keep or even time-based, for example, delete the builds older than 30 days.
Deploy Expiration:
This deployment or promotion of a build to several environments, including the staging and production, and the build will track the history of the deployment.
Expire deployment policies clean up older deployment records so versions cannot occupy space. Similar to builds, you can set up Bamboo to automatically delete old deployment histories after a certain number of days or by the number of versions kept.
Key Difference:
Build expiry addresses compiled code and test results, whereas deploy expiry focuses on the handling of versions and releases pushed toward various environments.




 

answered Oct 24, 2024 by Gagana
• 10,030 points

edited Mar 6
0 votes

Because builds and deployments are separate entities in Atlassian Bamboo, their expiration policies vary in how they address cleanup and retention:

  • The term "build" in Bamboo refers to the output of a continuous integration pipeline run, which generates artifacts or results according to the source code and defined jobs.
  • Duration: Managed at the plan or worldwide level by the Build Retention Policy.
  • It allows you to specify how long builds are stored (for example, keeping only the most recent "n" builds or builds that fall within a given time period).
  • According to the guideline, older builds are automatically removed unless they are marked as favorites or specifically excluded from the cleanup.
  • In Bamboo, the process of propagating artifacts from a build to other environments (such as staging or production) is known as deployment.
  • Termination: Under the Deployment Version Retention Policy's control.
  • Retention can be set up for deployment versions according to criteria like successful or unsuccessful deployments.
  • Expiration policies enable fine-tuned control to maintain versions relevant to active environments and are unique to each deployment project.
  • The main distinction in expiration is that build Expiration concentrates on clearing up logs and artifacts associated with CI builds.
  • In deployment environments, deployment records and version histories are managed by deployment expiration.

Both are essential for preserving storage effectiveness and system performance while guaranteeing that important documents are always available.

Advance your career with a DevOps Master's Program—master CI/CD, automation, Kubernetes, and cloud technologies. Enroll now! 
 

answered Nov 28, 2024 by mounika
• 200 points

edited Mar 6

Related Questions In DevOps Tools

0 votes
0 answers
0 votes
0 answers

How to create maven build on bamboo ? Unable to create build by using profile as in pom.xml

As given in the above question that ...READ MORE

Oct 28, 2024 in DevOps Tools by Anila
• 5,070 points
93 views
0 votes
1 answer

What are some strategies for managing large volumes of build artifacts in Jenkins? Can you share tips or scripts for archiving and cleaning up old artifacts to save space?

In Jenkins, large volumes of artifacts from builds are the heart and soul of optimizing storage usage ...READ MORE

answered Nov 14, 2024 in DevOps Tools by Gagana
• 10,030 points
201 views
0 votes
1 answer

How would you configure Jenkins to build and deploy an application to AWS, Azure, or GCP? Can you share sample code or a Jenkinsfile for deploying with Terraform or CloudFormation?

Set up Jenkins for application building and deployment onto AWS, Azure, or GCP by integrating it with ...READ MORE

answered Nov 14, 2024 in DevOps Tools by Gagana
• 10,030 points
177 views
0 votes
1 answer

What are the key differences between classic release pipelines and YAML pipelines in Azure DevOps?

Traditional Release Pipelines: UI-Based: Developed and controlled using ...READ MORE

answered Dec 3, 2024 in DevOps Tools by Gagana
• 10,030 points
143 views
+1 vote
3 answers

How do I check and export sonarqube analysis reports in embedded db?

Browse to sonarqube web instance to access ...READ MORE

answered Jul 2, 2018 in DevOps Tools by DareDev
• 6,890 points
28,734 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
4,500 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,292 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP