Best practice on when to perform sonar scanning

Hi ,
This is a question: I want to know what is the best practice for performing the sonar scanning. Currently we are performing sonar scanning during
Pull-request
Code-merge
Nightly build
releasing build
Please suggest/advice the best practice.

Hi,

Sorry this fell through the cracks.

Generally, I’ll say “all of the above!”

More seriously, I do wonder what the real difference is between the Nighly build and the last Code-merge build of the day. Presumably they’re the same, so analyzing the nightly build seems like overkill. Other than that, your list looks good to me.

 
HTH,
Ann