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

Robot Network dependency in InfluxDB plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Doc (https://plugins.jenkins.io/influxdb) says that Robot Network should be optional plugin, but according to code it is not:

      https://github.com/jenkinsci/influxdb-plugin/blob/1.13.2/src/main/java/jenkinsci/plugins/influxdb/InfluxDbPublisher.java#L228

       

      And if robot network plugin is missing, influxdb plugin fails with:

      java.lang.NoClassDefFoundError: hudson/plugins/robot/RobotBuildAction
       at jenkinsci.plugins.influxdb.generators.RobotFrameworkPointGenerator.hasReport(RobotFrameworkPointGenerator.java:47)
       at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:229)
       at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
       at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
       at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
       at hudson.model.Build$BuildExecution.cleanUp(Build.java:195)
       at hudson.model.Run.execute(Run.java:1767)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:98)
       at hudson.model.Executor.run(Executor.java:401)

        Attachments

          Activity

          Hide
          aleksisimell Aleksi Simell added a comment -

          Added try-catch for Robot Framework also. Fix will be available in next release.

          Show
          aleksisimell Aleksi Simell added a comment - Added try-catch for Robot Framework also. Fix will be available in next release.

            People

            Assignee:
            aleksisimell Aleksi Simell
            Reporter:
            tarvi Tarvi Pillessaar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: