Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Checking out consistent git revision across stages

I have a stage for building my application, and another stage for running integration tests. As I understand it, each job that needs the source must checkout the source again, so what happens if someone commits during the build stage? Will the integration step phase include the newest commit? Or will it somehow be locked to the revision of the source used in the build stage? 

1 answer

Ok, I think the answer is that the revision number is locked for the whole build of a plan. I haven't found this explicitly stated in the documentation, but I did find the following which implies this is the case:

"If the child build uses the same source as the parent build (for example, the Subversion URL is the same), the child build will be forced to check out the same revision of source code as the parent build. This ensures that builds are consistent when triggering one build from another."

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

46 views 0 3
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