I noticed when scanning a project that the first background task do not take so long compared to the following ones. Can someone explain why ? is it due to some comparison ? In our workflow we are willing to use the sonar for bitbucket plugin (https://marketplace.atlassian.com/apps/1212735/sonar-for-bitbucket-server) which means that we are going to make a sonar scan for each build of a feature branch. It will be interesting if the background task will take always 3 minutes instead of 20min and sometime more. Why is there a difference between the firt background task and the others ones ? Is there a way to do some cleaning before sonar background task begin so that it will be faster (we don't care for sonar history in features branches) ?
Regards,