Git and project subdirectories

I'm testing out Bamboo, putting together a rails project similar to this blog article:

The issue I think is that our git project does not have the rails project at the root. Our git repo is laid out so that the rails app is in a subfolder, because we have other non-rails files at the root also. I think this is causing issues like, bundler not finding the gemfile, etc. (which makes sense because you couldn't run these commands from a folder above the rails folder in command line.

How can I do this without changing my repo? I was thinking that maybe I could issue a cd command as a task, but no dice I'm afraid. And I don't see how I can set a working folder for bundle or rake?

3 answers

1 accepted

As the author of the Ruby Plugin for bamboo I had never considered this problem, that said I can most certainly assist in resolving it.

As each of the "tasks" spawns independent processes I will just need to configure this for all tasks within the build.

I have added an issue on my project to solve it

Thanks for taking the time to post this question!


This morning I shipped an updated version with this feature added.

Screen shots illustrate the case where a project in bitbucket has a rails project directory nested within it which needs to be tested (see example project below).

If you have any issues I am happy to help.

Dave, is this really an OnDemand question?

Shoot! I thought I picked the right one. No its about the downloaded version. My bad.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,825 views 0 6
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