Add Source Code Managers
A Harness Source Code Manager (SCM) contains your personal account for a Git provider such as GitHub or AWS CodeCommit. You can add one SCM to your account for each provider.
When you have Harness Git Experience enabled for a Project, Harness uses your a SCM account information to identify the commits you make to and from Harness. A SCM is useful for auditing who is making changes to a Project and its Pipeline, Connectors, etc.
A Harness SCM is mandatory for Harness Git Experience. If you don’t have a SCM when you try to enable Harness Git Experience, Harness will warn you and require you set one up.
This topic walks you through setting up a SCM. If you are simply looking for descriptions of a SCM settings, see Source Code Manager Settings.
In this topic:
Before You Begin
- If you are new to Harness Git Experience, read Harness Git Experience Overview and try the Harness Git Experience Quickstart.
- You can only add one SCM per Git provider. For example, you cannot at two GitHub SCMs.
Step 1: Open Your Profile
In Harness, click your account profile in the bottom of the navigation.
In My Source Code Managers, click Add Source Code Manager.
Step 2: Add the SCM
In Add a Source Code Manager, enter a name for the SCM.
Select the SCM type, such as GitHub.
Enter the authentication credentials.
We'll use GitHub in this example, but you can find the settings for all of the SCMs in Source Code Manager Settings.
Here's a GitHub example:
Click Add. The new SCM is listed under My Source Code Managers.
Now that you have an SCM you can enable Harness Git Experience.