Add Source Code Managers

Updated 4 months ago by Michael Cretzman

Currently, this feature is in Beta. Once the feature is released to a general audience, it will be available for Harness Professional, Essentials, Trial, and Community Editions.

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

Limitations

  • 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.

Next Step

Now that you have an SCM you can enable Harness Git Experience.


Please Provide Feedback