Start FreeLog in
SonarCloud | Managing your projects | Administering your project | Changing project binding

Changing project binding and other parameters

On this page

This page is directed at the project admin.

Changing the binding of your project

You can bind a project to another repository or you can bind an unbound project to a repository.

Binding a project to another repository

You can change the repository binding of a project provided you have Administer permission on that project and Create projects permission. The following limitations apply:

  • The source and target repositories must be in the same organization.
  • A public project cannot be bound to a private repository.

To bind a project to another repository:

  1. Retrieve the project.
  2. Go to Administration > General Settings > Repository binding.
  3. In the list of repositories, select the target repository and click Save.
Binding an unbound project to a repository

You can bind an unbound project to a repository provided you have Administer permission on that project and Create project permission. Note that a public project cannot be bound to a private repository.

To bind an unbound project to a repository:

  1. Retrieve the project.
  2. Go to Administration > General Settings > Repository binding.
  3. In the list of repositories, select the repository and click Save
Updating the project binding on repository URL change

In case you renamed your repository or moved it within the same organization, you can update the repository binding to your SonarCloud project as follows:

  1. Retrieve the project.
  2. Go to Administration > General Settings > Repository binding.
  3. In the list of repositories, re-select the target repository and click Save.

Changing the project key

  1. Retrieve the project.
  2. In the left sidebar, select Administration > Update Key. The Update Key page opens.
  3. Enter the new key and select Update.

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License