I have read the documentation and was struggling to understand the steps required to do the following:
- Using git actions to trigger SonarQube scan each time new code is pushed to the main branch
- Using Jenkins SonarScanner plugging to perform the scan on that specific branch
I couldn’t figure out how to combine those, and also where should I call my build process.
Since I am using C I need to first compile my code then the SonarScanner will work with the Compilation Database which was produce during the build.
I would like for some guidance on how to properly build this process.