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
4,367,886
Community Members
 
Community Events
168
Community Groups

Bamboo "Source Code Checkout" references old commit

Edited

So, I have a Bamboo job that consists of a few tasks:

- A series of SSH tasks that performs the build for my project. The last step wraps everything up in a .zip file and commits/pushes that .zip file to BitBucket.

- Source Code Checkout

- Maven, which basically takes the .zip file and publishes it as an artifact somewhere else

The problem I'm having is that the version of the published artifact is always one iteration out of date, because Source Code Checkout appears to only care about the state of the repository when the job is initiated. It misses the commit/push done at the end of the SSH tasks. The next run of the job picks it up. So, what's the most elegant and correct way to fix this?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events