Project Settings

Configure project settings.

    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. Select a project and click Project Settings on the left-side menu.
      Note

      Only project admins can view or update the project settings.
    3. Add approval rules and save.
      You can add users as approvers, mention target branch and specify the number of approvals required for a PR. Users when adding reviewers to the PR can select users belonging to the group or select from the list of users added in the project setting.
  • To update project settings, run the update-project-settings command:

    oci devops project update-project-settings --project-id --approval-rules --merge-settings

    To delete project settings, run the delete-project-settings command:

    oci devops project delete-project-settings --project-id

    To get project settings, run the get-project-settings command:

    oci devops project get-project-settings --project-id

    To get project notification preference, run the get-notification-preference command

    oci devops project get-notification-preference --principal-id --project-id

    To update project notification preference, run the update-notification-preference command:

    oci devops project update-notification-preference --notification-preference --principal-id --project-id
  • To retrieve a DevOps project setting details, use the GetProjectRepositorySettings operation.

    To update a DevOps project setting details, use the UpdateProjectRepositorySettings operation.

    To delete a DevOps project settings, use the DeleteProjectRepositorySettings operation.