I have a git "database" repository that contains various sql files. In bamboo, I get the latest files from Stash using the "Source Code Checkout" task. I would like to move the new/updated sql files to the same location I am putting my artifacts.
In the deployment task I use the "artifact download" task to put all of the shared artifacts in one location.
Is there a way to put my new/updated sql files in the same location as the artifacts?
I wanted to check this first to make sure it works as I thought.
You want to checkout source code in the same build that you are creating other artfacts for this deployment.
Check to what directory "Source Code Checkout" task is retrieving sources. It's probably 'src'.
Then go to "Artifacts" tab. Create new definition.
Last but not least make sure that you check "Shared" so this artifact is seen by deployment project.
For some screens you can start here: https://confluence.atlassian.com/display/BAMBOO/Configuring+a+job%27s+build+artifacts
After build with new configuration is done you should see new artifact in deployment configuration.
On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...
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