This page contains instructions on how to configure the Crucible Perforce SCM plugin to access Perforce repositories.
![]() | Crucible SCM plugins superseded by Native Repository Access Crucible now ships with native repository access, which allows you to connect to repositories without a working version of FishEye. Crucible SCM plugins will still work, but we recommend that you stop using them in favour of native repository access. See What happens if I decide to stop using FishEye with Crucible? for instructions. |
On this page:
Setting Up a Perforce Repository in Crucible Alone
To set up Perforce in Crucible alone,- Ensure that the Perforce executable file is on the system path, in the Crucible server's Environment Variables
- Start Crucible then open the 'Admin' menu by clicking the Administration link in the footer of the page.
- Under the 'Repository Settings' heading, click 'Repository List' in the left-hand navigation bar.
- The 'Repository List' screen opens.
- Find the Perforce repository plugin and click its Configure Plugin link.
- The 'Configure Plugin' screen opens. Click 'Add Repository'.
The 'Add Repository' screen opens. Fill in the fields.
|| Field || What to enter ||
Name
Choose a unique name for the repository.
Repository Server
Enter the base URL and port for the repository, for example:
example.com:666
.Repository Path
Add the path to your Perforce repository. For example:
//depot/code/example/main
.Perforce Username
Enter the username of the Perforce account that Crucible will use. (optional)
Note that this account should only have read-only access to the repository.Perforce Password
Enter the password of the Perforce account that Crucible will use. (optional)
- Click 'Save'. The view will return to the list of repositories.
- Your Perforce repository is now set up for Crucible. You will be able to select changesets from it when creating reviews.
Notes
There is no 'initial scanning' required in this process, as Crucible's access to Perforce (when running alone) is strictly on-demand. Data is not indexed, hence there is no scanning.
Crucible executes the Perforce command-line tool to enable this functionality.