I've got a Bamboo plan configured to build from a GitHub repository. Bamboo polls GitHub and detects commits that trigger a build. Bamboo correctly lists the GitHub commit under the Commits tab. Correctly detects the JIRA ticket id in the commit message and links it to our JIRA. However, it does not link the commit id back to GitHub. In other plans using a Stash repository, Bamboo does link the commits back to Stash.
Is this a problem with the way the GitHub repo is defined in Bamboo? Bamboo gains access to the repo through a GitHub account and a SSH key. However, the particular GitHub account does not own the repository. The account does have access rights to the repository. The repository is a private repository with access restricted to our organization.
Updated on 26-Apr-2017
By examining the HTML Bamboo produces arround the GitHub commit, I see this:
<span class="revision-id" title="Unable to create URL - please check your web repository configuration"> 7a0f2e22b0ba314d4f6675a8d6b58f7f218461b5 </span>
It would be very helpful if that title was visible on the page instead of being buried in the HTML.
Have tried several ways of defining the WEB Repository for the GitHub Linked Repository. Tried defining using Stash (Legacy) and Fisheye. Neither will generate the correct URL for linking back to GitHub. So basically Bamboo 5.14.5 does not provide a way to link a commit back to GitHub like it does for Stash or Fisheye.
There's a separate plugin for this functionality which is not bundled with Bamboo: https://github.com/HackAttack/bamboo-github-status and https://marketplace.atlassian.com/plugins/com.mhackner.bamboo-github-status/server/overview
Just tried this plugin on Bamboo 6.10.3, and it sort of works.
Which works if I am logged in to GitHub in that browser session. If I am not logged into GitHub, clicking the link gives a 404 error probably because of 2FA.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events