I want to run my code which is save in my laptop.
- I have install Jenkins version is 2.268 in my laptop through container its running.
- Sonar Server also running as container in my laptop
(sudo docker run --rm -p 9000:9000 -v sonarqube_conf:/opt/sonarqube/conf -v sonarqube_extensions:/opt/sonarqube/extensions -v sonarqube_logs:/opt/sonarqube/logs -v sonarqube_data:/opt/sonarqube/data sonarqube)
- sonar server version is sonarqube-18.104.22.168104 and SonarQube Scanner version is sonar-scanner-22.214.171.1246-linux.
- my code which i want to analysis and run is on this location
/home/mohd/Desktop/fxt/Web/src/main/ui/ and see below is the screenshot.
- In Jenkins i have create a one job see below screenshot
- when i analysis that code i got error see below screenshot
- Here is the global tool configuration in that plugin see below screenshot
- Here is the global tool configuration of JDK 11 and JDK8 both see below screenshot
- Here is the configure system of jenkins see below screenshot
- Here is the screenshot of sonar-project.proprieties
Help me out on how to analysis code or how to add the correct location or path in that jenkins ?