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

I am having issues with linking github repo to Bamboo

com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://rahulyelamareddy:********@github.com/xxxxx/test.git failed with code 128. Working directory was [.]., stderr:


 
error: The requested URL returned error: 403 Forbidden while accessing https://rahulyelamareddy:********@github.com/xxx/test.git/info/refs

2 answers

0 votes

tried running same this from command line ,which worked fine 

 /usr/bin/git ls-remote https://rahulyelamareddy@github.com/xxxx/test.git

Password: 

3091611fa994bb3cd28f0e9c6069681e01951df5 HEAD

3091611fa994bb3cd28f0e9c6069681e01951df5 refs/heads/master

 

0 votes
Rafael Sperafico Atlassian Team Nov 16, 2016

Hello Rahul,

Based on the error (403 Forbidden while accessing https://rahulyelamareddy:********@github.com/xxx/test.git), it seems the user (rahulyelamareddy) does not have access to the repository (github.com/xxxxx/test.git).

Please, attempt on cloning the repository from Terminal by running:

git clone https://rahulyelamareddy@github.com/xxx/test.git

Please, make sure the user (rahulyelamareddy) has permission over this repository.

If using GitHub Enterprise, please have a look at https://jira.atlassian.com/browse/BAM-11589

Kind regards,
Rafael P. Sperafico

It is working fine when i tried cloning it from command line Rafael.

git clone https://rahulyelamareddy@github.com/xxx/test.git

Initialized empty Git repository in /root/test/.git/

Password: 

remote: Counting objects: 6, done.

remote: Compressing objects: 100% (4/4), done.

remote: Total 6 (delta 0), reused 3 (delta 0), pack-reused 0

Unpacking objects: 100% (6/6), done.

I am assuming that bamboo is passing its admin id and password instead of what i am passing through linked repository configuration ,but i am not able to find a way to over come this .

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Statuspage

⭐️Would you recommend Statuspage? Leave a (honest!) review. ⭐️

Hi Community friends, We're working on sourcing more reviews on Capterra – a popular software review site –  to help teams like yours make more informed decisions when choosing an inc...

32 views 2 2
Join discussion

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