Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
a.SonarQube 9.9 Community Edition - how is SonarQube deployed: zip, Docker, Helm
a.zip - what are you trying to achieve.
a.Single Module Spring Boot project is working in Jenkins Pipeline. Multi Module Sping boot application is getting failed. - what have you tried so far to achieve this
a.Jenkins Pipeline should pass with Multi Module Project.
stage('SonarQube Analysis') {
steps {
script {
def mvn = tool 'custom_maven'
withSonarQubeEnv('sonarqube-9.9') {
sh """
cd child module-1
${mvn}/bin/mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=projectKey
"""
}
}
}
}
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!