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
Community Members
Community Events
Community Groups

When to create deployment artifact? Every build or when deploying?

We are using git feature branching. Every time a developer makes a PR branch, bamboo kicks in builds and test the branch. If everything is ok PR can be merged. When we want to make a release, the developer creates a release branch and deployment project creates the artifact, uploads the artifact to the server. We think creating artifacts when making deployment makes thing easier and faster rather than every build because developers make PR more frequently. So what is the best practice for creating artifacts? During build plan or when deploying to server. 

1 comment

The problem with creating artifacts in the deployment is that they are not available for download if you want to take a look at them later. Also, you won't be able to easily go back and deploy and older artifact if you need to.

Having said that, creating artifacts for each build is a pain as well. You can get away from that by having a separate deployment build. You normal builds will work as it now does, with feature branch plans, and they won't create the artifacts. You will have a separate deployment build that creates the artifacts, either triggered by changes to the main branch or triggered manually. The deployment project will be tagged to the new build and will pick the artifacts from the new build.

I have seen this working fine in many places but it all depends on the process you want to follow. Tools are there to facilitate that process :)


Log in or Sign up to comment
Community showcase
Published in Bamboo

Bamboo - introducing LTS releases

We know that many of you have been asking for Long Term Support versions for Bamboo, as managing large, complex instances can require plenty of lead time and planning to prepare for an upgrade. To ...

301 views 0 8
Read article

Atlassian Community Events