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.


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
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

256 views 4 1
Join discussion

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