- SONAR_ENV_NAME 을 실제 등록명 SonarQube-Community 로 수정 - 스캐너 툴 이름 미지정 시 후보 이름 탐색 후 PATH 의 sonar-scanner 폴백 - 스캐너를 못 찾으면 원인이 드러나는 메시지와 함께 실패 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
clean 이 build/generated 잠금으로 실패하는 사례가 있어 rm -rf 를 선행한다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- Jenkinsfile.sonar: 분석 전용 파이프라인 (컴파일 JDK8 / 스캐너 JDK17 분리, Quality Gate 실패는 UNSTABLE 처리, 토큰은 환경변수로만 전달) - sonar-project.properties: 분석 대상/제외 규칙, Java 8 소스 설정 - ci/sonar-classpath.gradle: build.gradle 무수정으로 sonar.java.libraries 덤프 (타입 해석용 컴파일 클래스패스가 없으면 보안 룰 다수가 동작하지 않음) - .gitignore: .scannerwork/ 제외 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>