Issue Type: Bug Bug
Assignee: Sonar Team
Attachments: InvokeStandaloneSonarAnalysis.png, JenkinErrorLog.txt, SonarInstallation_01.png, SonarRunnerInstallation_01.png, sonar_Project_PropertiesFile.png, TomcatServerlog.png
Components: sonar
Created: 05/Jan/15 4:52 AM
Description:

Sonar Integration with Jenkins

  • Downloaded Sonar Plugin
  • Downloaded github plugin
  • Go to Dashboard >> Manage Jenkins >> configure system ( Please find the attached -configuration screenshot)
  • Create Free style job
  • Find the attached screenshot for build configuration

Jenkins is not able find Job created under project configuration and throw the error
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:100)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:53)
Caused by: Task Job1 does not exist

Please find the attached screenshot and error logs for more details.
Screenshots:

  • Config system of sonar
  • Project Config of sonar
  • Jenkins execution log
  • tomcat server log
  • sonar project properties files

Note: If i run some sonar project configuration file then sonar runner get execute successfully however same project file path is given into jenkins then it throw the error which is mentions here.

Environment: Windows 7
Jenkins Version: 1.595
sonar Plug-in: 2.4
Project: Jenkins
Labels: sonar-plugin
Priority: Major Major
Reporter: Neeraj Lad
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to