Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,534
Community Members
 
Community Events
168
Community Groups

git credential storage exception while using github

Hello I am using checkout from github for maven projects in bamboo plan but it is showing git credential storage exception even though I have entered acess token alsp could you help me ?

2 answers

Hello !

I have tried that cmd in cmd promt as I typed it went to crome for checking username and pwd   U can see I have shared images also but after that not able to choose in any of the 3 option U can see it 

0 votes

Hi Bhumika,

From the limited information you shared, I understand you have issues with cloning a Git repository using "Source code checkout" task.

To verify if the issue is specific to Bamboo only, could you please run the below command with the same credentials configured in Bamboo and see if it works? This is to see if the credentials work fine with your private repository outside of Bamboo.

git ls-remote https://username@github.com/proj/reponame.git

You may also have to make sure that the personal access token has repo and user scope, and if Bamboo uses the right token. You may check if your token is OK by running something like below on the Bamboo server:

curl -u $USERNAME:$TOKEN https://api.github.com/user/repos?per_page=100

Hello! I am connecting to github without providing username and password and my repository is public access 

Jeyanthan I Atlassian Team Dec 08, 2020

Hi Bhumika, have you got a chance to try what I requested above?

What happens when you try to clone on your server via a command prompt outside Bamboo?

Also, your logs/atlassian-bamboo.log should hint what the problem is. It could sometimes be that the particular user as which Bamboo is running might not have access to a particular directory where the git operation happens. You should be able to find this out from the server log entries.

Cheers,
Jey

Hello !

I have tried that cmd in cmd promt as I typed it went to crome for checking username and pwd   U can see I have shared images also but after that not able to choose in any of the 3 option U can see it

Jeyanthan I Atlassian Team Dec 19, 2020

Hi Bhumika,

From your screenshot, I see you have copy-pasted my command literally without modifying it with your username and the respective Git repository. Please contact your administrator for any assistance with running the respective command via command prompt.

Cheers,
Jey

Hi,

Sorry I blindly copy pasted that one now I am sharing U can see but it is showing remote not found.

Capture.PNG

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events