Deleting a Project
Project Administrators can use this procedure to delete any of their projects. When a project is deleted, the following components are deleted:
• | From the Code Insight database—The project record and all scan results, inventory, alerts, tasks, and user audit work associated with the project. |
• | From the Scan Server—The project’s codebase files. |
To delete a project, follow these steps:
1. | As Project Administrator, perform either step: |
• | Navigate to the Summary tab (see Opening the Project Summary Tab), and from the Manage Project menu, select Delete Project. |
• | Navigate to the Projects view (see Opening the Projects View), right-click the project in the project display, and select Delete Project. |
2. | When prompted, select Yes to proceed with the deletion. The project deletion process is added to the Jobs queue with the message in the upper right of the current screen: “Project will be deleted in the background with the job ID: <jobId>”. |
Note:If the Scan Server associated with the project is temporarily inactive or is disabled, a pop-up is displayed to inform you that the server is down. The deletion process does not proceed.
3. | To view the status of the project deletion, open the Jobs queue and locate the job ID. For instructions, see Monitoring the Code Insight Jobs Queue. |
Impact of Other Jobs on Scheduling Project Deletions
The following describes how the scheduling of a project deletion can be impacted by other Code Insight jobs.
Multiple Project Deletions Triggered
When multiple project deletions have been triggered simultaneously, the first deletion triggered is in the Active state in the Jobs queue. The remaining deletions are placed in the Scheduled state and are run based on the scheduled order.
Electronic Update or Library Refresh Running
When an Electronic Update or Library Refresh is in progress, all subsequent project deletion jobs are placed in a Scheduled state. Once the Update is finished, the deletion jobs are run based on the scheduled order.
Scan Running on the Same Project
A project deletion task cannot run on a project currently being scanned.
• | When you attempt to trigger the deletion from the project’s Summary page, the Manage Project > Delete Project option is disabled. |
• | If you trigger the deletion from the project’s right-click menu in the Projects view, the deletion job is added to the Jobs queue. However, its final status shows as Failed, and the Error column for the job states “You cannot delete this project or scan folder while there are tasks scheduled or active for the project”. |
Once the scan or rescan is complete, you can re-trigger the deletion task.