...
코드 블럭 | ||||
---|---|---|---|---|
| ||||
. . . #------------------- # Sonar Crowd Plugin #------------------- # To first try to authenticate against the external sytem. # If the external system is not reachable or if the user is not defined in the external system, the authentication will be performed through the SonarQube internal system. sonar.security.realm=Crowd # URL of the Crowd server. crowd.url=http://localhost/crowd/ # Crowd application name. # Default is 'sonar'. crowd.application=sonar # Crowd application password. crowd.password=sonar # Don't use crowd for sonar account sonar.security.localUsers=admin,sonar |
sonar.security.realm: SonarQube 내애서의 연동 명칭
- crowd.url: crowd server url (예: http://localhost:8095/crowd/)
- crowd.application: crowd에서 설정한 sonarqube 연동용 application 이름
- crowd.password: crowd에서 설정한 sonarqube 연동용 application의 비밀번호
- sonar.security.localUsers: crowd와 sonarqube 계정이 중복될 경우 sonarqube에서 생성한 계정이 우선순위를 가지도록 설정할 id
Step 4) SonarQueb service restart