I am trying to link a username and password to a github repo using the shared credentials e.g. githubCredentials, which equals (myuser, mypassword) and then ave the user choose githubCredentials as the username and password to prevent people entering in the wrong password, which then locks the github account.
Yes, you can do this (for a plain git repo)! If it's not working then something is going wrong.
If you have Two Factor Authentication (2FA) enabled on your GitHub account, then you may need to create a personal access token. There's also an Atlassian knowledge base article about this: Two-Factor Authentication (2FA) with GitHub in Bamboo
If you're not using 2FA, and there's no obvious error that tells you what's going wrong, then you can try reproducing the issue and checking Bamboo's log files to see if a more detailed error message is being sent from GitHub. Bamboo's main log file can be found here on disk:
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs