Fields Used to Configure an SCM Perforce Instance

The following settings are used to configure an SCM Perforce instance on Code Insight.

Keep the following in mind as you set up the instance, especially when providing the Username and Password credentials:

The repository identified by the instance must reside on a Perforce server that is configured with Security Level 1, 2, or 3. The Code Insight Perforce connector does not support instances created for a Perforce server configured with Security Level 0, in which users are created without passwords.
The Code Insight Perforce connector supports LDAP authentication on Perforce. If Perforce is configured with LDAP, you must provide the appropriate LDAP credentials for the Username and Password fields to access the Perforce repository identified by the instance.

 

Setting Used to Configure an SCM Perforce Instance

SCM Perforce Instance Setting

Description

URL (P4PORT)

Enter the URL of the Perforce instance with which to synchronize. Note the following example URL formats:

For a TCP connection

tcp:<p4ServerHostID>:<p4Port> 

For an SSL connection

ssl:<p4ServerHostID>:<p4Port> 

p4ServerHostID and p4Port identify the hostID (hostname or IP address) and port of the Perforce server.

Username (P4USER)

Provide the user name that has access to the Perforce depot to which this instance is synchronizing. If Perforce is configured with LDAP authentication, provide the LDAP user name.

Password (P4PASSWD)

Provide the password associated with the user name (see the previous field). If Perforce is configured with LDAP authentication, provide the LDAP password associated with the LDAP user name.

If you are using a P4 ticket provided by the Perforce administrator, this field is optional.

Branch Spec (P4CLIENT)

Provide the path (in the following format) to the Perforce branch to which this instance is synchronizing:

<depot>/<projectPath>

Changelist No

(Optional) Provide a changelist number only if this instance is synchronizing to a particular changelist. Otherwise, this value defaults to the latest revision.

Label

(Optional) Provide a label for the perforce branch.