Hi there,
regarding to our previous problem with the housekeeping of pull requests and shorted-lived branch, we are now facing a new problem.
The settings for deleting analysis of short-lived branches and pull requests is set to 30.
We have two long-lived branches: master and develop
The only way to push into these is via pull requests.
And the normal process is to create a pull request to merge new code into develop and than create another pull request to merge develop into master.
For the develop branch the housekeeping seems to work, because we don’t have any analysis of pull request older then 30 days.
The problem: for the main branch master the list of pull requests analysis gets longer and longer
Is there anything I can check?
In the sonar context of the background task I can see, that the property is set correctly:
sonar.dbcleaner.daysBeforeDeletingInactiveBranchesAndPRs=30
Our environment:
- SonarQube Version 8.4.1 (build 35646) Developer Edition
- SonarC# 8.9 (build 19135)
- Buildsystem: AzureDevOps
- Database: PostgreSQL 9.5.14