Bamboo SCP & Git

Hello,

Is it possible to only copy changed files using Git + SCP in Bamboo, rather that re-upload all the files every time a new change is made?

1 answer

2 votes
Gary Sackett Atlassian Team Apr 30, 2013

Hi Jacob,

Dont think there is a good solution to do this, as Bamboo doesnt know what specific files are changed after a build is run - it doesnt have built in checking for this. You may be able to add some custom scripting to your builds to do this, using the scp tasks:

https://confluence.atlassian.com/display/BAMBOO/Using+the+SCP+task+in+Bamboo

But again, there isnt anything specifically it looks like to look for changes.

I added a feature request to possibly have this added in the future:

https://jira.atlassian.com/browse/BAM-13179

Cheers,

Gary

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday 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...

202 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