Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo not linking a build's commit back to GitHub?

Edited

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.

 

 Updated 26-Apr-2017

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.

1 answer

bamboo-github-status is no longer maintained.

build-status-for-github may (or may not) help (I haven't tried it yet, but google seemed to think it might be appropriate.  If somebody else wants to be the guinea pig, let us know :-)

Just tried this plugin on Bamboo 6.10.3, and it sort of works.

It generates https://github.com/someorganization/somerepo/commit/commitvalue

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
Read article

Community Events

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

Events near you