Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26285

Error during Sonar runner execution + Caused by: Task Job1 does not exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: sonar-plugin
    • Labels:
    • Environment:
      Windows 7
      Jenkins Version: 1.595
      sonar Plug-in: 2.4
    • Similar Issues:

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            sonarteam Sonar Team
            Reporter:
            neerajlad Neeraj Lad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: