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 instanceInstance, click the Create button and select SCM Instanceselect the Source Control tab, and click theImage Addedbutton. To edit an existing instanceInstance, select an instance and click the Edit button. click on an Instance row from the list.

...

Enter values for the fields as described in figure below.

Selection of the SCM type dynamically prompts for properties required to for that SCM. Clicking the Test Connection button will use the values you entered to connect to the SCM instance.

Click the Save button to save the changes.

Image RemovedInstance.

Field Name

Required

Description

Instance Code

Yes

Short name for the

instance

Instance.

Instance Name

Yes

Long display name for the

instance

Instance.

SCM Type

Yes

The SCM Type. Subversion, GIT, Microsoft TFS, CVS are the supported SCM Instance Types. Once

Once the SCM Instance is saved, this

can not

field cannot be modified.

Description

Yes

A description of the

instance

Instance.

Active

Yes

Whether or not the

instance

Instance is active in the system. Defaults to "Yes".

URL

Depends

URL to the repository

(SubVersion,Git, TFS or CVS)

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 down. 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 to save the changes, but remain on the current screen until the Cancel button is clicked.