Sonarqube Auto cleanup

Hi,

You need to be aware that that lastAnalyzedBefore only take the main branch into account. So if you’ve got a project where all the action happens on the develop project, you could delete it without meaning to.

Regarding the exact syntax of the command, the best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

 
HTH,
Ann