Difference between revisions of "Custom Git Data Source Credential"
(→Bitbucket / Custom Git) |
(→Bitbucket / Custom Git) |
||
Line 23: | Line 23: | ||
[[File:BitbucketCard.jpg|100px]] |
[[File:BitbucketCard.jpg|100px]] |
||
+ | |||
+ | '''The Custom Git Connection Form will open''' |
||
[[File:BitbucketUsername.jpg|600px]] |
[[File:BitbucketUsername.jpg|600px]] |
Revision as of 15:09, 7 January 2025
Bitbucket / Custom Git
[Administrator]
For special git repositories, such as Bitbucket, use Custom Git. It provides flexibility for special Git systems.
Bitbucket PAT Creation Notes
Bitbucket allows PATs to be created at the Project or the Repository level. In this description the PAT was created at the repository level
- Within the Bitbucket repository, go to Repository Settings -> Access Tokens select Create Repository Access Token
- Give the token a name that can be easily identified
- Select the scopes of Read/Write/Delete
- Press Create
There should be a new screen that appears showing the newly created PAT and the various ways to leverage it. Be sure to save the contents of this screen as everything but the email user.email section will no longer be visible once closed.
The Administrator can create the data source credentials by selecting the (Create new credential) button on the Manage Data Source Credentials page.
Select the Custom Git card
The Custom Git Connection Form will open
Enter the details for the Custom Git Form
- Enter a Username.
- The username will be x-token-auth as provided by Bitbucket as part of the git clone URL provided by Bitbucket when the PAT was initially created.
- Enter the Personal access token
- The PAT is the Token itself as provided by Bitbucket in the first text box that was created by the Bitbucket service. Be sure not to add the username portion or the @<URL> portion to this.
- Enter the Commit author
- Enter the Commit email
- If the Bitbucket provided user.email is input here, when commits occur from Command Center, they will show in Bitbucket with a commit author as token name provided when the PAT was created in Bitbucket
- Enter the URL, for example, https://bitbucket.org/account/
- Next
Give the new credential a name
- The name should be something that is easily identified when applied from a project as the being the correct PAT
- Assign it to applicable managers
- Create
The system should return to the Manage Data Source Credentials page with "Credential created" note and the new credential should be listed.