You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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 ?
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://email@example.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
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.
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.