Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have created Jenkins pipileine script job , for cicd process.
Am how to sonarQube code scan "Talend code " though the jenkins pipiline(groovy ) script job.
am using gitlab repository.am using mvn setting xml for conencting to respevtive respositories and downloading jars+
sh "sonar:sonar -f Talend/poms/pom,xml -e -jobs/process/(jobname) -am -gs /etc/maven/setting.xml -Dlicencepath=apps/opt..
-Dproductpath=apps/opt/application/...
-Dsonar.sources=apps/opt/application/jenkins/...
-Dsonar.prejectkey=dxcbsd...
-Dsonar.host=https/...
-Dsonar.login=eeeefvfsd...
what is the path to pass through the -Dsonar.sorces . this the issue facing issue.
any another approach
kudos
Hi Sasi,
looks like you are trying to do code coverage with sonarQube. I did try the same with sonarQube and Jacoco using the the Jenkins plugin. However it didn't work for me. it would either show 0% or 100% coverage and the reason is because of the way Talend generates the code. At this point of time i think we need to wait till Talend comes up with some native or integrated solution.
Thanks,
Sree