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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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

How to manage deployment job with the current build commit


So we have two stages: Build (CI) and deployment (CD)


Everytime after I run a build I got a number, for example, 123


When I start a new deployment, I set three environments: 





the only difference betwen these environments are one environment variable , for example, I set below variables in the deployment job.


environment = dev


Now I found it is hard to get this simple job done. Because there is no source code checkout to check the commit in that build. 


For example, when I run the deployment on build 123, I should see the source code only in that build. tomorrow, I have a new commit and run the build, and generate build 124


If I start the deployment again with same build number 123, it in fact deploys the latest commit (that's in build 124). 


Bamboo ask me to do via Artifact, but I don't think that's the right way to do CICD. 

So how can I do? any better way?

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 27, 2020

Hi @ozbillwang,

Can you describe a bit more about the tasks you are using in your deployment stage?

How are you accessing the code that was built within your build stage.  Artifacts are generally the way that Bamboo moves built items that you which to save between jobs/stages/etc.  So I feel like they gave you the correct advice, but I'd like to know more about what you are doing in your environment to understand why you do think that is the correct way to do things?



Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events