Yep, I assume that, the built issue is the easiest bug can be found. Building stuff can be finished by CI.
The CI, not the "Tradition CI" (Tradition CI means: commit code -> trigger CI [Compile -> Unit Test -> Deploy -> ...]). The tradition CI CANNOT avoid the issue-code be committed into the repository.
The CI what I mean is, when someone commit the code -> CI system is triggered -> If the job is failed -> the code will NOT be committed into the repository.
Actually, the code was committed into a TEMP-REPOSITORY for triggered the CI system, if there something wrong with the code, this commit will not be merged into the real-repository.