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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.