Bamboo shows unrelated Jira bug numbers from Stash

Kevin Dixon October 16, 2013

We have a couple of projects that live in the same Stash/Git repository.

We are commenting the Jira bug numbers on the Git commits, and so when Bamboo builds, it indicates that the build includes fixes for bugs that are not actually part of the project.

For example, in our repository, each project is in a specific path...

/projectA

/projectB

If someone commits a fix for projectB, but Bamboo builds projectA, it shows that the fix for projectB is included in that build.

I have already linked the Bamboo Plan to a Jira Key, which I thought might get it to work, but it does not seem to care. Any ideas? Can you tell Bamboo to only consider a specific path (git filter-tree??) when looking at the changes?

1 answer

1 accepted

1 vote
Answer accepted
PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2013

Hm... Have you tried to use "include/exclude files" setting ( https://confluence.atlassian.com/display/BAMBOO/Git ) on the repository configuration for your plans? I'm not sure if that would solve your case, but it might be worth trying if you hadn't tried yet...

regards

Kevin Dixon October 22, 2013

yup that's it, thanks

Suggest an answer

Log in or Sign up to answer