Documentation for Crucible 3.0.x. Documentation for other versions is available too.

This page describes how to configure Crucible access to 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 having FishEye integrated with your Crucible instance. 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.

Setting up a Perforce repository using native access

To set up native access to a Perforce repository:

  1. Go to the Crucible admin area.
  2. Click Repositories (under 'Repository Settings'), and then Native Repository Access (if necessary).
  3. Click Add Existing...
  4. Refer to Perforce in the FishEye documentation for detailed information about completing the wizard.

Setting up the Crucible Perforce SCM plugin

This section describes how to configure the Crucible Perforce SCM plugin to access Perforce repositories.

To set up Perforce in Crucible alone:

  1. Ensure that the Perforce executable file is on the system path, in the Crucible server's Environment Variables
  2. Start Crucible and go to the admin area.
  3. Click Manage Add-ons (under 'Systems Settings').
  4. Find and click on the Crucible Perforce SCM Plugin (click Show System Plugins) and then click Configure.
  5. Click Add a repository and complete the form:

    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)
    (info)
    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)

  6. Click Save.

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.
  • No labels