Expert Mode fails for Pipeline jobs

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: performance-plugin
    • None
    • Environment:
      Jenkins v2.70
      Performance Plugin v3.2
      Windows Server 2012
      Oracle Java 1.8.0_66

      Expert Mode does not seem to be Pipeline compatible.

      When trying to publish performance results in a Pipeline job, the TaskListener passed to PerformancePublisher.evaluateInExpertMode() is a [StreamTaskListener](http://javadoc.jenkins-ci.org/hudson/util/StreamTaskListener.html) but not a [BuildListener](http://javadoc.jenkins-ci.org/hudson/model/BuildListener.html), which causes a ClassCastException.

      No problem with Freestyle jobs.

       

       

        1. ConsoleOutput.png
          48 kB
          Till Neunast
        2. Jenkinsfile
          1 kB
          Till Neunast

            Assignee:
            Artem Fedorov
            Reporter:
            Till Neunast
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: