Error if the job has no testresults

XMLWordPrintable

      If there are no tests and test results (Maven project), than the configured Jira test result reporter has an error and the completed sucesfull build is marked as failed

      BUILD SUCCESSFUL
      Total time: 2 seconds
      [JiraTestResultReporter] [INFO] Examining test results...
      ERROR: Publisher JiraTestResultReporter.JiraReporter aborted due to exception
      java.lang.NullPointerException
      at JiraTestResultReporter.JiraReporter.perform(JiraReporter.java:106)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:742)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:714)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1030)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663)
      at hudson.model.Run.execute(Run.java:1713)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Finished: FAILURE

            Assignee:
            Andrei Tuicu
            Reporter:
            podskalsky
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: