Faster build and scan for our GitLab merge request process
Removed unnecessary files and tests
Hello, we are trying to implement merge request scanning in our GitLab CI process, and the scanner is reaching around 17 minutes to scan our 603k LOC project. Is there a way to implement incremental scanning so that SonarQube will not index and scan all files in the project and only scan the changed files?
Indeed, incremental mode looks like a nice solution, and in fact, we already started looking into it, and recently added its support for C++.
Unfortunately, it is not available for Java, however, we have an ongoing effort to improve Java analysis performance, incremental mode will definitely be discussed.
I added a link to this post in the ticket, you can follow the evolution of the subject there.