Synchronizing an SCM Instance

FlexNet Code Insight 2020 R2

After testing your SCM connection, you can synchronize the instance to get the codebase files from the selected repository.

Note that the scan process also automatically synchronizes the data before initiating the actual scan to ensure that the latest codebase is in place.

To sync an SCM instance, do the following:

1. If you are not already on the Version Control Settings tab on the Edit Project page, navigate to it.
2. Click Sync Now to synchronize files from the repository to the root directory of the Code Insight Scan Server associated with your project. The root directory contains directories identified by project IDs. Under each project ID directory, subdirectories with names such as git.0 or git.1 are generated, one for SCM instance created for your project. (The number of subdirectories under the directory for your project ID is equal to the number of instances created for your FlexNet Code Insight project.)

Note the following:

If multiple instances have been added, clicking Sync Now will synchronize all instances. If the sync fails for one instance, the overall sync will fail as well.
If the Scan Server assigned to the project to which you are synchronizing codebase files is disabled, the Sync Now button is also disabled. Consider reassigning the project to an enabled Scan Server. (If necessary, see your FlexNet Code Insight administrator for information about which servers are enabled).