We have an Angular project that SonarQube quality gate consider it as Passed but after a couple of runs and adding invalid codes, it’s reported as Failed (which makes sense).
After fixing the issues and sending it to SonarQube, the project is still in Failed mode! and SonarQube is not considering it as Passed!
If I create a new project in SonarQube and send the same code to SonarQube. It consider the project as Passed!
Why does it happen?
I don’t want to delete the project in SonarQube and create a new one and lose all our report history.