How to integrate SonarQube & Jenkins | Jenkins SonarQube integration | Automate code scan in Sonar

preview_player
Показать описание

Here below are the steps for integrating SonarQube with Jenkins:
Pre-requisites:
Make sure SonarQube is up and running and do the below steps:
Make sure Sonarqube plug-in installed in Jenkins

1. Create Token in SonarQube by logging as an administrator
2. Copy the token and register sonarqube info in Jenkins
3. Use maven goal as sonar:sonar
4. kick start the job to run scan
Рекомендации по теме
Комментарии
Автор

Hi, your videos are always very helpful and life-saving at times!! Thanks a lot!!

shreyasaxena
Автор

Would you please provide sonar command or goal for sonarqube scan for Php projects

jithinbabu
Автор

Sir thank you for this video...can you please explain how we can scan nodejs api code

sid
Автор

well explained but i get 'WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?' any ideas why this must be happening

khurramsardarbangash
Автор

Hi Its beautifully explained, can you pls help me with integration to python code instead of java !?

josias
Автор

Hi, thank you for sharing. the project in sonarqube I need to setup first before running jenkins job? or it will automatically created after I click Build in Jenkins? and do I need to setup anything in my pom file? Thank you again 😊

liairani
Автор

How can I analyse code of react with sonarQube using jenkins pipeline? Can I get some help regarding this?

Ajay-dslv
Автор

greate video, whe I click on Add dropdown it does not pop up anything, why do u think this happen?

willyrosahuanca
Автор

Very informative. Thanks. My ec2 instance is refusing to connect

bernardking
Автор

I followed same steps for Maven job but getting the below error, any suggestion please..appreciate your help.

WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

venkatdevops
Автор

Failed to execute goal (default-cli) on project jaweher: Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property. -> [Help 1]

jawehers
Автор

This is the error I encounter when I use declarative pipeline not like what you did:
Scanning for projects...
[ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM (No such file or directory)
The build could not read 1 project -> [Help 1]
The project has 1 error
Non-readable POM (No such file or directory)

kyleatendido
Автор

which java version installed on jenkins server???? which version is best for jenkins to get rid of java errors...

pjj
Автор

Can you please share Jenkins file with SonaQube steps for Freestyle/Maven job.

venkatdevops
Автор

My sonar authentication not recognised while build the job why

alexron
Автор

Hii I'm not able to add server authentication token while sonarqube installation in jenkins

anushkanaidu
Автор

pom.xml file who will create developer or Devops guy please let me know.

ksubrahmanyam
Автор

where does the "mvnHome" variable come from ??

jawehers
Автор

Hi Its beautifully explained, can you pls help me with Jacoco Integration as well

AnilKumar-upqx
Автор

pon.xml mai kya hai.
can u share ur code's folder.?

kuchalaggyan