Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SCM Instance is configuration details to connect with specific code repositories like GitHub, GitLab, Subversion etc. This information is used to check for changes in repository. Plugins can use the details to checkout, commit code as well.

To create an SCM Instance, select the Source Control tab, and click the Image Removedbutton Create button in the top right of the table. To edit an existing Instance, click on an Instance row from the listInstance’s name in the table. A popup will open.

...

Enter values for the fields as described in figure below.

Selection of the SCM Source Control type dynamically prompts for properties required for that SCM. Clicking Once all required fields are entered, clicking the Test Connection button at the bottom will use the values you entered to connect to the SCM Instance.

Field Name

Required

Description

Instance CodeName

Yes

Short Long display name for the Instance.

Instance NameCode

Yes

Long display Short name for the Instance.

SCM Type

Yes

Once the SCM Instance is saved, this field cannot be modified.

Description

Yes

A description of the Instance.

Active

Yes

Whether or not the Instance is active in the system. Defaults to "Yes".

URL

Depends

URL to the repository

If using SVN,

Info

For example, if the path to your project is:

https://subversion.flexagon.com/svn/trunk/BRANCH-4.0-fixpack1/FlexDeploy

The the SVN instance should be set to

https://subversion.flexagon.com/svn/

and the trunk path script should be set to

"/trunk/BRANCH-4.0-fixpack1/FlexDeploy" (Note this is in quotes as it is a groovy script input.)

If using PVCS,

This will be the Project Database client name configured on the FileServer.  e.g. /opt/pdb/pdbname

User

Depends

User name to login to the repository.

Password

Depends

Password to login to the repository.

Note that encrypted properties are stored in Credential Store (Local or External) and can be configured using Edit button next to credential name drop downonce selected in the dropdown. Alternatively, you can reuse single credential for multiple properties also, in which case you should name that credential appropriately.

Click the Save button to save the changes. Optionally click the Apply button on the bottom left to save the changes , but remain on the current screen until the Cancel button is clicked.and exit the popup.