Moving a Project

Move a project and its associated resources, such as environments and artifacts from the existing compartment to a new compartment in the same region.

For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.

    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. Select a project and click Move.
    3. Select the new compartment to move the project to.
    4. Click Move.

    The project and its associated resources are moved to the new compartment.

  • To move a DevOps project to another compartment, run the change-compartment command:

    oci devops project change-compartment

    Required parameters for the change-compartment command:

    • --compartment-id | -c
    • --project-id

    To get all the commands for project:

    oci devops project -h

    To get help for the change-compartment command:

    oci devops project change-compartment -h
  • To move a DevOps project to another compartment, use the ChangeProjectCompartment operation.