Let's see how to resolve SonarQube server can not be reached error.
Root cause and Fix:
When ever you stop EC2 instance and re-start, public DNS name always changes. So you will have to change it every time you restart.You need to re-enter new Sonarqube server URL under Jenkins --> Manage Jenkins --> Configure system. scroll down and under sonarQube configuration
enter updated SonarQube URL. no need to create token again, old token is enough.
After you save, you can run the job in your CI server to integrate with Sonarqube.
No comments:
Post a Comment