You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`-P <days>`: Will search for projects not analyzed since more than `<days>` days.
12
13
To avoid deleting too recent projects it is denied to specify less than 90 days
13
14
-`-B <days>`: Will search for projects branches not analyzed since more than `<days>` days.
14
15
Branches marked as "keep when inactive" are excluded from housekeeping
15
16
-`-R <days>`: Will search for pull requests not analyzed since more than `<days>` days
16
17
-`-T <days>`: Will search for tokens created since more than `<days>` days
18
+
-`--keepWhenInactive <regexp>`: Overrides the SonarQube `sonar.dbcleaner.branchesToKeepWhenInactive` to with another regexp to consider branches to delete
17
19
-`--mode delete`: If not specified, `sonar-housekeeper` will only perform a dry run and list projects
18
20
branches, pull requests and tokens that would be deleted.
19
21
If `--mode delete` is specified objects are actually deleted
0 commit comments