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.
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...
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