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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

65 views 1 0
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