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 ?
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
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
It looks like you're new here. Sign in or register to get started.