Shouldn't Bamboo show file diffs for bitbucket commits?
Asked by ZacT:

I'm using Bamboo and hosting my source code in Bitbucket. When I goto a build and click on 'changes' it gives me a list of files that changed and the versionid but I have no way of seeing what the file differences, so I would have to goto Bitbucket and manually look at it there.

When I setup the link the the bitbucket project it asks which source code browsing tool I'm using, but I thought that as I'm using bitbucket it would use the bitbucket... would I need to install a copy of fisheye?


Answers:
author: PiotrA
body: Hello Zac,

Do you have "Web Repository" set up for your plan? (plan configuration-\>source repository-\>advanced settings-\>web repository-\>something something (I don't remember what)-\>bitbucket scheme).

That way you won't see the file differences directly in Bamboo (in fact I haven't heard of such feature, even with 3rd party plugins), but the changesets in Bamboo will become links to the relevant Bitbucket pages containing the diffs. Is that what you need?

regards,

comments: author: ZacT
body: The web repository drop down only lists stash, fisheye.. Maybe another, but not bit bucket, which is weird. I'd expect the bitbucket provider to "just work" and not even give the option, but instead act as you describe... Alas I have no link to the change set


author: PiotrA
body: Hm... that's weird.

Check this out: <https://confluence.atlassian.com/display/BAMBOO/Bitbucket+-+Mercurial> (ctrl-f for "Mercurial Web Repository" on that page) - are you sure you don't have anything like "BitBucket Web Repository Scheme" in the web repository drop down? Maybe there is bug in Bamboo - which version are you using? I'd check that myself tomorrow...

ah, wait - are you using Mercurial or Git repository on Bitbucket?

regards,


author: ZacT
body: Git... and yes their's a mercurial option, but thats not gonna work


author: PiotrA
body: Have you tried? Maybe the links are the same for Mercurial and Git repositories... aren't they?


author: ZacT
body: Ah, well... no I hadn't and now I have...

Works

Thanks


author: PiotrA
body: :o

Seems we need to do something with that Bitbucket webrepository type in Bamboo - that 'solution' is not very intuitive I'd say...

Thanks for checking!

regards,


author: J. Matthew Pryor
body: It's been over a year and and it's still like this?

I've had the linking disabled because I assumed it wasn't possible, and it took me around 15 minutes of Googling just to get here! You could at least put it in the wiki if it's too much work to update the software..


author: Kim Carlsen
body: Im quite amazed how little things work out of the box when you just purchase the whole suite

jira, bamboo, Bitbucket

Takes forever to find the small quirks that makes it work sensible.

At least there is support and forums to get help.


author: Joe Levis
body: ...And now it's been over 2 years ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")

Don't get me wrong...I love Bamboo. But it's a little ridiculous that this isn't baked into the Bamboo/Bitbucket integration. Both Atlassian tools right? What makes it worse - this works perfectly fine in Jenkins, which doesn't help Bamboo's street cred when it costs $$ and Jenkins is free.


Tags: bitbucket-cloud

cloud