Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

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

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 

Suggest an answer

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

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

534 views 6 7
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