Mark the unnecessary baseline for deletion. Choose all baselines that you want deleted, then right-click and select Delete.
The Delete dialog box displays the selected baselines. Click Delete. The selected baselines are now marked for deletion.
Note that an update operation will not select a baseline that is marked for deletion. If your team uses project groupings, and any of the project groupings are using marked baselines, they will choose different baselines during the update operation.
The CM administrator can set up the Save Offline and Delete command to automatically delete baselines that are marked for deletion when they are no longer used. For details, see the soad Command.
Additionally at this point, your site might decide to inactivate the release you have just finished. Use the ccm clean_up command to clean out the process rules and any old releases from the release.
There is not much overhead associated with retaining these extra releases and process rules; clean up is for convenience. Cleaning out the releases and the process rules makes it easier to find the information you need in the corresponding dialog boxes.
Additionally, you cannot delete a baseline if a project grouping uses that baseline, or if a process rule uses the baseline. If you try to delete a baseline and its checked-in projects and products, and one or more of its associated projects or products is a member of a project that is not part of the baseline, the delete baseline operation will succeed; however, those projects or products will not be deleted. Furthermore, if one or more projects that are in the baseline are members of another baseline, or are baseline projects, the delete operation will be successful, but those projects will not be deleted.
Note that you will need to remove obsolete project hierarchies, and then empty project groupings, before you can delete old baselines. However, empty project groupings may still carry important information about tasks the owner explicitly added to or removed from that grouping.
To find and remove empty project groupings that also have no explicitly added or removed tasks, use the following commands:
ccm set role ccm_admin
ccm query –t project_grouping "is_no_project_grouping() and has_no_added_task_in_pg() and has_no_removed_task_in_pg()"