SonarQube Cloud | Managing your projects | Administering your project | Creating and deleting projects
Creating and deleting projects
To be able to create a new project you need the corresponding permission.
You can create projects by importing your DevOps platform repositories. This way, the new projects are automatically bound to their respective repository, which has many advantages: see Organization and project binding. You can also create projects manually, but manually created projects are unbound.
Repository import is only possible if your SonarQube Cloud organization is bound to its corresponding DevOps platform organization.
Importing one or several repositories to SonarQube Cloud
- On the top right of the SonarQube Cloud interface, select the ✚ (plus) menu and select Analyze new project. The Analyze projects page opens.
- Select your organization
- Select the repositories you want to import.
- Select the Set up button. The Set up project for Clean as You Code page opens.
- Select the new code definition for your project (see About new code).
- Select the Create project button. The project is created and the automatic analysis is started.
Creating a project manually
- On the top right of the SonarQube Cloud interface, select the ✚ (plus) menu and select Analyze new project. The Analyze projects page opens.
- On the right of the page, select create a project manually.
- Select the organization and enter the project name and key.
- Select the Next button. The Set up project for Clean as You Code page opens.
- Select the new code definition for your project (see About new code).
- Select the Create project button. The project is created. You must now set up your CI-based analysis (no automatic analysis is supported for unbound projects).
Deleting your project
You can delete your project provided you're a project admin.
As an organization admin, you can delete several projects of your organization at a time.
Proceed as follows:
- Retrieve the project.
- In the left sidebar, select Administration > Deletion and confirm. The Delete project dialog opens.
- Enter the project name and select Delete.
Was this page helpful?