Bamboo ignoring my artifact and deploying the full git branch

Ok, I'm pretty new to Bamboo, and I'm having a hard time deploying just the way I want.

Right now, I have a build plan that polls my git repo for changes in a branch ("development") and does:

1. checkout
2. script (removes files that I don't want to deploy)

There's a shared artifact (called "DevelopmentArtifact") and, when this build finishes, I can see the content of this artifact is correct (the files I don't want to deploy are not there).

This triggers a deploy configuration for a QA environment. The tasks defined in this environment are:

1. Artifact Download (pointing at "DevelopmentArtifact")
2. SCP Task

When I read the deployment log, I can see it is actually deploying the full development branch, not the "filtered" artifact. All the files that I removed with my script on build are back there!

Any ideas why would that happen?

I have both "development" and "master" branches configured in the plan, and both the Build and Deploy plans show the "development" branch label. But there is no version control checkout in my deployment configuration, so why would it ignore the artifact and get all the files instead?

Let me know if you need more info to understand the problem.

Thanks.

1 answer

For now, I just moved my script task from build to deployment. But still, I'm curious about this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

461 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you