Housekeeping not deleting old branches in SonarQube 10.6

Hello,
We are experiencing an issue with the housekeeping feature in our SonarQube instance (version 10.6). Despite configuring the housekeeping settings to delete old branches as per the retention policy, the branches are not being removed as expected.

Steps to Reproduce:

  1. Configure the housekeeping settings for branch retention in the Administration menu.
  2. Wait for the housekeeping to run as scheduled or trigger it manually.
  3. Check if old branches meeting the configured criteria are being deleted.

Expected Result:
Branches older than the configured retention policy should be deleted automatically during the housekeeping process.

Actual Result:
Old branches are not being deleted, even though the housekeeping feature is enabled and configured correctly.

@Colin any idea?

@ganncamp

Hi,

I urge you to familiarize yourself with the FAQ. In particular, this section:

I created a topic, when can I expect a response?

This is an open community with people volunteering their free time to provide assistance. We’re eager to contribute to the community, but you are not guaranteed a fast response.

Be patient

  • Wait a few days before bumping a topic that hasn’t received a response.
  • Do not @name mention individuals not involved in the topic.

@-ing someone not already involved in your thread does not move your topic to the top of their ToDo list. Just the opposite.

There is no “schedule” for housekeeping. Housekeeping is run on each project as its branches are analyzed.

 
HTH,
Ann