How to use commit and push task to Github Repositories under Bamboo Deployment Projects.

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Currently Bamboo does not allow repository commit and push task to Github linked repositories similar to Bitbucket.

When the User tries to create a repository commit and push task under a Deployment Project environment, even if the Github repository is present under linked repositories, It will not be available for commit and push task.

Environment

Any version of Bamboo, Issue seen in 8.1.1.

Diagnosis

  • In the Linked repositories of Bamboo link a Github repository.
  • For a Deployment Project, edit the Environment and try to add repository commit and repository push task. 

       

  • Github repository will not be displayed under the repository dropdown and the below screen with supported repository will be displayed.

      

Cause

This is basically a feature limitation on Bamboo where it does not treat Github repositories similar way as Bitbucket repositories.

Solution

The solution is very simple, delink the Github repositories and relink them as GIT repository under linked repositories, this should resolve the Issue.


Last modified on Feb 15, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.