SlideShare a Scribd company logo
1 of 6
SonarQube and SonarQube Runner Configuration
STEPS:
1. Download SonarQube and SonarQube Runner from:
http://www.sonarqube.org/downloads/
a. sonarqube-5.1.zip b. sonar-runner-dist-2.4.zip
2. Unzip the files to desired location, say: D:sonarqube-5.1 and D:sonar-runner-2.4
3. Seta newenvironmentvariable as SONAR_HOME.Anditsvalue shouldbe the unzipped
locationof sonar.Example, D:sonarqube-5.1
4. Seta newenvironmentvariable as SONAR_RUNNER_HOME.Andits value shouldbe the
unzipped location of sonar-runner.Example, D:sonar-runner-2.4
5. AppendSonarRunner’sbinpath(%SONAR_RUNNER_HOME%bin) tothe environmentvariable
“Path”.
6. Update the global settings(databaseconnection,serverURL) byediting sonar-
runner.properties file underSonarRunner’s conf folder.
Example- D:sonar-runner-2.4confsonar-runner.properties
7. Now create a database inanyof the above database serveranduncommentthe same with
properURL and uncommentthe sonar.jdbc.username andsonar.jdbc.password,also
uncommentthe DefaultSonarQube ServerURL inthe sonar-runner.propertiesfile.
Example:Create db sonarinMSSQL server
#----- MicrosoftSQLServer
sonar.jdbc.url=jdbc:jtds:sqlserver://localhost:1433/sonar;SelectMethod=Cursor
#----- DefaultSonarQubeserver
sonar.host.url=http://localhost:9000
#----- Global database settings
sonar.jdbc.username=sa
sonar.jdbc.password=sa123
8. Update the global settings(databaseconnection,serverURL) byediting sonar.propertiesfile
undersonarqube’s conf folder.
Example:
sonar.jdbc.username=sa
sonar.jdbc.password=Password1
#----- MicrosoftSQLServer2008/2012
sonar.jdbc.url=jdbc:jtds:sqlserver://localhost:1433/sonar;SelectMethod=Cursor
9. In SONAR_HOMEbin folder,subfoldersappropriate tothe OperatingSystemwill be available
and theywill inturncontainthe SonarQube serverstartupscripts. Startthe SonarQube server
by StartSonar.bat or as service byexecuting
a) InstallNTService.bat b) StartNTService.bat
EXAMPLE: D:sonarqube-5.1binwindows-x86-64StartSonar.bat
Afterthe serverstarts,accessthe webinterface of the SonarQube at http://localhost:9000/
Defaultcredentialsis admin/admin
10. Nownavigate toprojectroot directorywhichyouwantto analyze.A sonar-project.properties
file hasto be placedintothe root of the projectfolder.
Minimumcontentof the sonar-project.propertiesfilewill be asfollows.
Sample sonar-project.propertiesfile
11. Go to commandline andchange directory(cd) to the project’srootdirectory andrun the
command
[Path of sonar-runner]binsonar-runner.bat
Example:D:sonar-runner-2.4binsonar-runner.bat
12. Upon successful executionof the above command,checkthe SonarQube dashboardbyopening
SonarQube Server’sadminpage athttp://localhost:9000(defaultURL).
Defaultcredentials –admin/admin
13. The projectwill be listedonthe dashboardwiththe name givenin sonar-project.properties file.
14. Clickon the projectname andexplore furthertoview the code analysisreport.
Sonar qube configuration

More Related Content

What's hot

Apache HDFS - Lab Assignment
Apache HDFS - Lab AssignmentApache HDFS - Lab Assignment
Apache HDFS - Lab AssignmentFarzad Nozarian
 
How to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHubHow to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHubTiago Simões
 
Scoop Job, import and export to RDBMS
Scoop Job, import and export to RDBMSScoop Job, import and export to RDBMS
Scoop Job, import and export to RDBMSRupak Roy
 
05.linux basic-operations-1
05.linux basic-operations-105.linux basic-operations-1
05.linux basic-operations-1Minsuk Lee
 
DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee Nur Ahammad
 
Automating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLAutomating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLNina Kaufman
 
Top 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu CommandsTop 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu CommandsYusuf Felly
 
Docker & CoreOS at Utah Gophers
Docker & CoreOS at Utah GophersDocker & CoreOS at Utah Gophers
Docker & CoreOS at Utah GophersJosh Braegger
 
Apache Hadoop for System Administrators
Apache Hadoop for System AdministratorsApache Hadoop for System Administrators
Apache Hadoop for System AdministratorsAllen Wittenauer
 
Hive data migration (export/import)
Hive data migration (export/import)Hive data migration (export/import)
Hive data migration (export/import)Bopyo Hong
 
Apache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteApache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteAllen Wittenauer
 
Linux command line cheatsheet
Linux command line cheatsheetLinux command line cheatsheet
Linux command line cheatsheetWe Ihaveapc
 
Hadoop Installation and basic configuration
Hadoop Installation and basic configurationHadoop Installation and basic configuration
Hadoop Installation and basic configurationGerrit van Vuuren
 

What's hot (20)

Apache HDFS - Lab Assignment
Apache HDFS - Lab AssignmentApache HDFS - Lab Assignment
Apache HDFS - Lab Assignment
 
How to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHubHow to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHub
 
Scoop Job, import and export to RDBMS
Scoop Job, import and export to RDBMSScoop Job, import and export to RDBMS
Scoop Job, import and export to RDBMS
 
05.linux basic-operations-1
05.linux basic-operations-105.linux basic-operations-1
05.linux basic-operations-1
 
DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee DSpace Manual for BALID Trainee
DSpace Manual for BALID Trainee
 
Drupal from scratch
Drupal from scratchDrupal from scratch
Drupal from scratch
 
Automating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLAutomating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQL
 
Top 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu CommandsTop 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu Commands
 
Docker & CoreOS at Utah Gophers
Docker & CoreOS at Utah GophersDocker & CoreOS at Utah Gophers
Docker & CoreOS at Utah Gophers
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Run wordcount job (hadoop)
Run wordcount job (hadoop)Run wordcount job (hadoop)
Run wordcount job (hadoop)
 
Apache Hadoop for System Administrators
Apache Hadoop for System AdministratorsApache Hadoop for System Administrators
Apache Hadoop for System Administrators
 
Bower introduction
Bower introductionBower introduction
Bower introduction
 
Hive data migration (export/import)
Hive data migration (export/import)Hive data migration (export/import)
Hive data migration (export/import)
 
Apache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteApache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
 
Hadoop completereference
Hadoop completereferenceHadoop completereference
Hadoop completereference
 
Linux command line cheatsheet
Linux command line cheatsheetLinux command line cheatsheet
Linux command line cheatsheet
 
Linux cheat-sheet
Linux cheat-sheetLinux cheat-sheet
Linux cheat-sheet
 
Basic Linux commands
Basic Linux commandsBasic Linux commands
Basic Linux commands
 
Hadoop Installation and basic configuration
Hadoop Installation and basic configurationHadoop Installation and basic configuration
Hadoop Installation and basic configuration
 

Viewers also liked

Inferno opera in Musica - rassegna stampa giugno 2011
Inferno opera in Musica - rassegna stampa giugno 2011Inferno opera in Musica - rassegna stampa giugno 2011
Inferno opera in Musica - rassegna stampa giugno 2011Simona Vacchieri
 
Disintegrated development in the rural urban fringe
Disintegrated development in the rural urban fringe Disintegrated development in the rural urban fringe
Disintegrated development in the rural urban fringe ruralfringe
 
Yogesh patil visual resume short but sweet 1
Yogesh patil visual resume short but sweet 1Yogesh patil visual resume short but sweet 1
Yogesh patil visual resume short but sweet 1Mumbai University
 
Sportimpuls lochem 25 11-2014
Sportimpuls lochem 25 11-2014Sportimpuls lochem 25 11-2014
Sportimpuls lochem 25 11-2014Gerrit van Ginkel
 
Whitepaper Gaining The Data Edge
Whitepaper  Gaining The Data EdgeWhitepaper  Gaining The Data Edge
Whitepaper Gaining The Data Edgepeterprior
 
Soapama - Gaceta Nov-Dic 2014
Soapama - Gaceta Nov-Dic 2014Soapama - Gaceta Nov-Dic 2014
Soapama - Gaceta Nov-Dic 2014pixentro
 
Corascent presentation5
Corascent presentation5Corascent presentation5
Corascent presentation5Mirra Aggarwal
 
ZDSD Diabetic Nephropathy - Effect of Lisinopril
ZDSD Diabetic Nephropathy - Effect of LisinoprilZDSD Diabetic Nephropathy - Effect of Lisinopril
ZDSD Diabetic Nephropathy - Effect of LisinoprilPreClinOmics
 
Naplózás a gyakorlatban
Naplózás a gyakorlatbanNaplózás a gyakorlatban
Naplózás a gyakorlatbanOpen Academy
 
שמאי מקרקעין - הנדסת הבניין
שמאי מקרקעין - הנדסת הבנייןשמאי מקרקעין - הנדסת הבניין
שמאי מקרקעין - הנדסת הבנייןtal kerem
 
문화재와 문화유적 기말고사_자료
문화재와 문화유적 기말고사_자료문화재와 문화유적 기말고사_자료
문화재와 문화유적 기말고사_자료재웅 송
 
INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRII OPERELOR DE ARTĂ MONUMENTALE ...
INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRIIOPERELOR DE ARTĂ MONUMENTALE ...INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRIIOPERELOR DE ARTĂ MONUMENTALE ...
INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRII OPERELOR DE ARTĂ MONUMENTALE ...Alexandru Vlad Murzac
 
Digital library opensource
Digital library opensourceDigital library opensource
Digital library opensourceMinh Tri Lam
 
By the Numbers - Book Summit 2013 - Toronto
By the Numbers - Book Summit 2013 - TorontoBy the Numbers - Book Summit 2013 - Toronto
By the Numbers - Book Summit 2013 - TorontoPeter McCarthy
 
GolinHarris 2013 Al's Day: Day of Service
GolinHarris 2013 Al's Day: Day of ServiceGolinHarris 2013 Al's Day: Day of Service
GolinHarris 2013 Al's Day: Day of ServiceGolin
 

Viewers also liked (20)

Inferno opera in Musica - rassegna stampa giugno 2011
Inferno opera in Musica - rassegna stampa giugno 2011Inferno opera in Musica - rassegna stampa giugno 2011
Inferno opera in Musica - rassegna stampa giugno 2011
 
Disintegrated development in the rural urban fringe
Disintegrated development in the rural urban fringe Disintegrated development in the rural urban fringe
Disintegrated development in the rural urban fringe
 
Yogesh patil visual resume short but sweet 1
Yogesh patil visual resume short but sweet 1Yogesh patil visual resume short but sweet 1
Yogesh patil visual resume short but sweet 1
 
Sportimpuls lochem 25 11-2014
Sportimpuls lochem 25 11-2014Sportimpuls lochem 25 11-2014
Sportimpuls lochem 25 11-2014
 
Whitepaper Gaining The Data Edge
Whitepaper  Gaining The Data EdgeWhitepaper  Gaining The Data Edge
Whitepaper Gaining The Data Edge
 
Soapama - Gaceta Nov-Dic 2014
Soapama - Gaceta Nov-Dic 2014Soapama - Gaceta Nov-Dic 2014
Soapama - Gaceta Nov-Dic 2014
 
Corascent presentation5
Corascent presentation5Corascent presentation5
Corascent presentation5
 
ZDSD Diabetic Nephropathy - Effect of Lisinopril
ZDSD Diabetic Nephropathy - Effect of LisinoprilZDSD Diabetic Nephropathy - Effect of Lisinopril
ZDSD Diabetic Nephropathy - Effect of Lisinopril
 
Corso lim lez 4
Corso lim   lez 4Corso lim   lez 4
Corso lim lez 4
 
Naplózás a gyakorlatban
Naplózás a gyakorlatbanNaplózás a gyakorlatban
Naplózás a gyakorlatban
 
Cooking language
Cooking languageCooking language
Cooking language
 
TKIO-tools
TKIO-toolsTKIO-tools
TKIO-tools
 
שמאי מקרקעין - הנדסת הבניין
שמאי מקרקעין - הנדסת הבנייןשמאי מקרקעין - הנדסת הבניין
שמאי מקרקעין - הנדסת הבניין
 
Charu's dossier
Charu's dossier Charu's dossier
Charu's dossier
 
문화재와 문화유적 기말고사_자료
문화재와 문화유적 기말고사_자료문화재와 문화유적 기말고사_자료
문화재와 문화유적 기말고사_자료
 
INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRII OPERELOR DE ARTĂ MONUMENTALE ...
INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRIIOPERELOR DE ARTĂ MONUMENTALE ...INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRIIOPERELOR DE ARTĂ MONUMENTALE ...
INFLUENȚA FACTORILOR DE MEDIU ASUPRA DEGRADĂRII OPERELOR DE ARTĂ MONUMENTALE ...
 
Digital library opensource
Digital library opensourceDigital library opensource
Digital library opensource
 
Instructivo uso repuce _primera asamblea
Instructivo uso repuce _primera asambleaInstructivo uso repuce _primera asamblea
Instructivo uso repuce _primera asamblea
 
By the Numbers - Book Summit 2013 - Toronto
By the Numbers - Book Summit 2013 - TorontoBy the Numbers - Book Summit 2013 - Toronto
By the Numbers - Book Summit 2013 - Toronto
 
GolinHarris 2013 Al's Day: Day of Service
GolinHarris 2013 Al's Day: Day of ServiceGolinHarris 2013 Al's Day: Day of Service
GolinHarris 2013 Al's Day: Day of Service
 

Similar to Sonar qube configuration

[DOC] Java - Code Analysis using SonarQube
[DOC] Java - Code Analysis using SonarQube[DOC] Java - Code Analysis using SonarQube
[DOC] Java - Code Analysis using SonarQubeAngelin R
 
Java Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeJava Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeAngelin R
 
Hadoop installation and Running KMeans Clustering with MapReduce Program on H...
Hadoop installation and Running KMeans Clustering with MapReduce Program on H...Hadoop installation and Running KMeans Clustering with MapReduce Program on H...
Hadoop installation and Running KMeans Clustering with MapReduce Program on H...Titus Damaiyanti
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)K Kumar Guduru
 
Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940gopalchsamanta
 
Hadoop single node installation on ubuntu 14
Hadoop single node installation on ubuntu 14Hadoop single node installation on ubuntu 14
Hadoop single node installation on ubuntu 14jijukjoseph
 
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisDA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisAbishek86232
 
Log grid root
Log grid rootLog grid root
Log grid rootopenmi
 
Hadoop cluster 安裝
Hadoop cluster 安裝Hadoop cluster 安裝
Hadoop cluster 安裝recast203
 
Hadoop installation on windows
Hadoop installation on windows Hadoop installation on windows
Hadoop installation on windows habeebulla g
 
OSDC 2013 | Software Packaging with RPM Demystified by Andrew Ford
OSDC 2013 | Software Packaging with RPM Demystified by Andrew FordOSDC 2013 | Software Packaging with RPM Demystified by Andrew Ford
OSDC 2013 | Software Packaging with RPM Demystified by Andrew FordNETWAYS
 
Big data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with InstallationBig data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with Installationmellempudilavanya999
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
 
DSpace Installation
DSpace InstallationDSpace Installation
DSpace InstallationNur Ahammad
 
Dev-Jam 2019 - Container & OpenNMS
Dev-Jam 2019 - Container & OpenNMSDev-Jam 2019 - Container & OpenNMS
Dev-Jam 2019 - Container & OpenNMSRonny Trommer
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
 
Linux_Ch2 Lecture (1).pdf
Linux_Ch2 Lecture (1).pdfLinux_Ch2 Lecture (1).pdf
Linux_Ch2 Lecture (1).pdfAllinOne746595
 
Install spark on_windows10
Install spark on_windows10Install spark on_windows10
Install spark on_windows10Ajay Ohri
 

Similar to Sonar qube configuration (20)

[DOC] Java - Code Analysis using SonarQube
[DOC] Java - Code Analysis using SonarQube[DOC] Java - Code Analysis using SonarQube
[DOC] Java - Code Analysis using SonarQube
 
Java Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeJava Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQube
 
Hadoop installation and Running KMeans Clustering with MapReduce Program on H...
Hadoop installation and Running KMeans Clustering with MapReduce Program on H...Hadoop installation and Running KMeans Clustering with MapReduce Program on H...
Hadoop installation and Running KMeans Clustering with MapReduce Program on H...
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940
 
Hadoop single node installation on ubuntu 14
Hadoop single node installation on ubuntu 14Hadoop single node installation on ubuntu 14
Hadoop single node installation on ubuntu 14
 
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisDA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
 
Log grid root
Log grid rootLog grid root
Log grid root
 
Hadoop cluster 安裝
Hadoop cluster 安裝Hadoop cluster 安裝
Hadoop cluster 安裝
 
Hadoop installation on windows
Hadoop installation on windows Hadoop installation on windows
Hadoop installation on windows
 
OSDC 2013 | Software Packaging with RPM Demystified by Andrew Ford
OSDC 2013 | Software Packaging with RPM Demystified by Andrew FordOSDC 2013 | Software Packaging with RPM Demystified by Andrew Ford
OSDC 2013 | Software Packaging with RPM Demystified by Andrew Ford
 
Big data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with InstallationBig data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with Installation
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
Linux shell scripting
Linux shell scriptingLinux shell scripting
Linux shell scripting
 
DSpace Installation
DSpace InstallationDSpace Installation
DSpace Installation
 
Dev-Jam 2019 - Container & OpenNMS
Dev-Jam 2019 - Container & OpenNMSDev-Jam 2019 - Container & OpenNMS
Dev-Jam 2019 - Container & OpenNMS
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
Bacula - Backup system
Bacula - Backup systemBacula - Backup system
Bacula - Backup system
 
Linux_Ch2 Lecture (1).pdf
Linux_Ch2 Lecture (1).pdfLinux_Ch2 Lecture (1).pdf
Linux_Ch2 Lecture (1).pdf
 
Install spark on_windows10
Install spark on_windows10Install spark on_windows10
Install spark on_windows10
 

Recently uploaded

Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 

Recently uploaded (20)

Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 

Sonar qube configuration

  • 1. SonarQube and SonarQube Runner Configuration STEPS: 1. Download SonarQube and SonarQube Runner from: http://www.sonarqube.org/downloads/ a. sonarqube-5.1.zip b. sonar-runner-dist-2.4.zip 2. Unzip the files to desired location, say: D:sonarqube-5.1 and D:sonar-runner-2.4 3. Seta newenvironmentvariable as SONAR_HOME.Anditsvalue shouldbe the unzipped locationof sonar.Example, D:sonarqube-5.1 4. Seta newenvironmentvariable as SONAR_RUNNER_HOME.Andits value shouldbe the unzipped location of sonar-runner.Example, D:sonar-runner-2.4
  • 2. 5. AppendSonarRunner’sbinpath(%SONAR_RUNNER_HOME%bin) tothe environmentvariable “Path”. 6. Update the global settings(databaseconnection,serverURL) byediting sonar- runner.properties file underSonarRunner’s conf folder. Example- D:sonar-runner-2.4confsonar-runner.properties
  • 3. 7. Now create a database inanyof the above database serveranduncommentthe same with properURL and uncommentthe sonar.jdbc.username andsonar.jdbc.password,also uncommentthe DefaultSonarQube ServerURL inthe sonar-runner.propertiesfile. Example:Create db sonarinMSSQL server #----- MicrosoftSQLServer sonar.jdbc.url=jdbc:jtds:sqlserver://localhost:1433/sonar;SelectMethod=Cursor #----- DefaultSonarQubeserver sonar.host.url=http://localhost:9000 #----- Global database settings sonar.jdbc.username=sa sonar.jdbc.password=sa123 8. Update the global settings(databaseconnection,serverURL) byediting sonar.propertiesfile undersonarqube’s conf folder. Example: sonar.jdbc.username=sa sonar.jdbc.password=Password1 #----- MicrosoftSQLServer2008/2012 sonar.jdbc.url=jdbc:jtds:sqlserver://localhost:1433/sonar;SelectMethod=Cursor 9. In SONAR_HOMEbin folder,subfoldersappropriate tothe OperatingSystemwill be available and theywill inturncontainthe SonarQube serverstartupscripts. Startthe SonarQube server by StartSonar.bat or as service byexecuting a) InstallNTService.bat b) StartNTService.bat EXAMPLE: D:sonarqube-5.1binwindows-x86-64StartSonar.bat
  • 4. Afterthe serverstarts,accessthe webinterface of the SonarQube at http://localhost:9000/ Defaultcredentialsis admin/admin 10. Nownavigate toprojectroot directorywhichyouwantto analyze.A sonar-project.properties file hasto be placedintothe root of the projectfolder.
  • 5. Minimumcontentof the sonar-project.propertiesfilewill be asfollows. Sample sonar-project.propertiesfile 11. Go to commandline andchange directory(cd) to the project’srootdirectory andrun the command [Path of sonar-runner]binsonar-runner.bat Example:D:sonar-runner-2.4binsonar-runner.bat 12. Upon successful executionof the above command,checkthe SonarQube dashboardbyopening SonarQube Server’sadminpage athttp://localhost:9000(defaultURL). Defaultcredentials –admin/admin 13. The projectwill be listedonthe dashboardwiththe name givenin sonar-project.properties file. 14. Clickon the projectname andexplore furthertoview the code analysisreport.