Different systems have different requirements around how a Personal Access Token must be supplied in the extra headers.
For Base64 encoding, Google has a fairly handy tool: https://toolbox.googleapps.com/apps/encode_decode/
This file contains all systems that have been verified as supported. External verifiers may have their username added in the associated section (if they choose).
Each system's section contains various sub-sections:
- Repo Id: describes how the
Repo Id
Task Input should be formatted for that specific system. - SCM Url: describes how the
SCM Url
field of the Service Connection should be formatted. - Appropriately Formatted Credentials: describes how one should generate the appropriate string to enter in the
Appropriately Formatted Credentials
field of the Service Connection.
GitHub is where over 56 million developers shape the future of software, together. ~GitHub
{AccountName}/{RepoName}
. For example,cloudpups/universal-git-tags
https://github.com/
- Generate a PAT with the proper permissions to read and write to repositories.
- Using your PAT in place of
token
, encode the following string in Base64:token
- Using the newly encoded value in place of
encodedValue
, supply the following string to the Service Connection:basic encodedValue
Also works for Azure DevOps Server 2019
.Plan smarter, collaborate better, and ship faster with a set of modern dev services ~ Azure DevOps
{ProjectName}/_git/{RepoName}
. For example,JoshuaTheMiller/_git/PublicExamples
- Replace {OrgName} with the name of your Org:
https://{OrgName}@dev.azure.com/{OrgName}
For example,https://JoshuaTheMiller@dev.azure.com/JoshuaTheMiller
.
- Generate a PAT with the proper permissions to read and write to repositories.
- Using your PAT in place of
token
, encode the following string in Base64::token
- Notice you must prepend your PAT with a colon before encoding it.
- Using the newly encoded value in place of
encodedValue
, supply the following string to the Service Connection:basic encodedValue
Collaborate on code with inline comments and pull requests. ~ BitBucket
{ProjectName}/{RepoName}.git
. For example,JoshuaDMiller/tagtests.git
.- Please note that {ProjectName} and {AccountName} may be different.
- Replace {AccountName} with the name of your Account:
https://{AccountName}@bitbucket.org
. For example,https://JoshuaTheMiller@bitbucket.org
.
- Generate an App Password with the proper permissions to read and write to repositories.
- Using your App Password in place of
token
, and your username in place ofuser
, encode the following string in Base64:user:token
- Using the newly encoded value in place of
encodedValue
, supply the following string to the Service Connection:Basic encodedValue
From project planning and source code management to CI/CD and monitoring, GitLab is a complete DevOps platform, delivered as a single application. ~ GitLab
{AccountName}/{RepoName}.git
. For example,JoshuaTheMiller/test.git
- Replace {AccountName} with the name of your Account:
https://{AccountName}@gitlab.org
. For example,https://JoshuaTheMiller@gitlab.com
.
- Generate a PAT with the proper permissions to read and write to repositories. help with verification would be appreciated
- Using your App Password in place of
token
, and your username in place ofuser
, encode the following string in Base64:user:token
- Using the newly encoded value in place of
encodedValue
, supply the following string to the Service Connection:Basic encodedValue