IPGraySpace: SonarQube - How to configure java project in SVN, Jenkins, SonarQube Part 1

3 years ago
66

IPGraySpace: SonarQube - How to configure java project in SVN, Jenkins, SonarQube

This window shows How to configure java project in SVN, Jenkins, SonarQube

1. Open SonarQube in Browser
if you don't have SonarQube watch the IPGraySpace video on ...
IPGraySpace: sonarqube - How to download and install sonarqube in mysql and windows 10 - Part 1
IPGraySpace: sonarqube - How to download and install sonarqube in MySQL and windows 10 - Part 2

2. Open Jenkins in Browser
if you don't have Jenkins watch IPGraySpace video on ...
IPGraySpace: Jenkins - How to deploy Jenkins in glassfish
IPGraySpace: Jenkins - How to configure Jenkins for the first time

3. Install Sonar Plugin in Jenkins (restart the Jenkins domain or Jenkins restart from bin folder)
I already installed the plugins

4. Configure Sonar in Jenkins

5. Configure java svn project in Jenkins and configure sonar

6. Build project in Jenkins

7. Go to Sonar you will see the Java svn project

the following sonar propertied is must you have to copy and paste in jenkins project
change accordingly
sonar.projectKey=java.ipgray
sonar.projectBaseDir=./
sonar.projectName=java.ipgray
sonar.sources=./src/main/java
sonar.projectVersion=1.0
sonar.language=java
sonar.java.binaries=.
sonar.scm.disabled=True
sonar.sourceEncoding=UTF-8

C:\Users\IPGRAY-1\.jenkins\workspace\java.ipgray (this is your jenkins project path)

https://ipgray-1/svn/java.ipgray/trunk

FYI: don't provide task name in Jenkins for the first time

Follow more IPGraySpace videos
-----------------
thank you for watching the IPGraySpace video
please share, subscribe, and comment

visit
www.ipgray.com
www.ipgrayspace.com
for more IT articles, documents, and videos

Loading comments...