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?
G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...
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