[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli): Goal requires a project to execute but there is no POM in this directory (-----------------------). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. getting this error..Please help
ERROR: No maven named maven-3 found ? How to resolve this? I am using Mac OSX With brew install maven, Maven home: /usr/local/Cellar/maven/3.5.3/libexec, tried : def mvnHome = /usr/local/Cellar/maven/3.5.3/libexe but doesnt work?
maven-3 is the name of the maven setup we give in Jenkins Global tool configuration, to check the name of your machine name, goto -> manage jenkins, Global tool configuration -> under Maven -> click on Maven installations. You can see your maven machine name. For more information, please check the 8th video i.e 08 - Jenkins pipeline integration with git & maven i.e th-cam.com/video/pts8zdHel5E/w-d-xo.html
Hi sir, through jenkins i m pooling the code from svn repositiory. Now what i want to do is, i want to mark my build as failed if sonar quality gate is failed or quality checks not met. How i can do this. Plz suggest.
Hi sir, The following is my pipeline script stage('SonarQube analysis') { withSonarQubeEnv('Sonar_Qube') { bat "${scannerHome}/bin/sonar-scanner" } } stage("Quality Gate"){ echo 'inside QG stage' timeout(time: 1, unit: 'HOURS') { def qg = waitForQualityGate() if (qg.status != 'OK') { error "Pipeline aborted due to quality gate failure: ${qg.status}" } } } After executing this, i m getting an error as follows java.lang.IllegalStateException: Unable to guess SonarQube task id and/or SQ server details. Please use the 'withSonarQubeEnv' wrapper to run your analysis. Plz suggest
contact javahome For online/classroom training please contact, Banglore, +919886611117
Thank you sir. I was facing a problem in sonar config for past 3days and was able to solve the issue with your video. Thanks a lot sir.
Welcome, All the Best
Nice videos uploading and it is helping us a lot !!
Glad to hear that
can you please upload full video, how to configure sonarqube... how to configure sonar to maven.
Thank you so much.
It helps.
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli): Goal requires a project to execute but there is no POM in this directory (-----------------------). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
getting this error..Please help
java.lang.NoSuchMethodError: No such DSL method 'withSonarQubeENV'
error iam facing could help me out thses issue
You have to install sonarqube scanner plugin
The step to configure/setup sonar cube server was missed
I have to setup this for Android
Could u plz suggest the steps for gradle + Sonarqube
ERROR: No maven named maven-3 found ? How to resolve this? I am using Mac OSX With brew install maven,
Maven home: /usr/local/Cellar/maven/3.5.3/libexec, tried : def mvnHome = /usr/local/Cellar/maven/3.5.3/libexe but doesnt work?
maven-3 is the name of the maven setup we give in Jenkins Global tool configuration, to check the name of your machine name, goto -> manage jenkins, Global tool configuration -> under Maven -> click on Maven installations. You can see your maven machine name.
For more information, please check the 8th video i.e 08 - Jenkins pipeline integration with git & maven i.e th-cam.com/video/pts8zdHel5E/w-d-xo.html
Do you have tutorial for install and configure sonarQube using ec2?
How to generate that name and token?
how to integrate sonar to maven. please can you show
check my Jenkins pipeline playlist
th-cam.com/video/PWhqbpVbaTo/w-d-xo.html
Hi sir, through jenkins i m pooling the code from svn repositiory. Now what i want to do is, i want to mark my build as failed if sonar quality gate is failed or quality checks not met. How i can do this. Plz suggest.
check this video - th-cam.com/video/y-Oz9lBYsH8/w-d-xo.html
Hi sir,
The following is my pipeline script
stage('SonarQube analysis') {
withSonarQubeEnv('Sonar_Qube') {
bat "${scannerHome}/bin/sonar-scanner"
}
}
stage("Quality Gate"){
echo 'inside QG stage'
timeout(time: 1, unit: 'HOURS') {
def qg = waitForQualityGate()
if (qg.status != 'OK') {
error "Pipeline aborted due to quality gate failure: ${qg.status}"
}
}
}
After executing this, i m getting an error as follows
java.lang.IllegalStateException: Unable to guess SonarQube task id and/or SQ server details. Please use the 'withSonarQubeEnv' wrapper to run your analysis.
Plz suggest
I am not getting any popup to setup sonarqube, is there any another way to setup..!
bro contact javahome.in
you can add subtitles