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

Expert Mode fails for Pipeline jobs

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: performance-plugin
    • Labels:
      None
    • Environment:
      Jenkins v2.70
      Performance Plugin v3.2
      Windows Server 2012
      Oracle Java 1.8.0_66
    • Similar Issues:

      Description

      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.

       

       

        Attachments

          Activity

          Hide
          artem_fedorov Artem Fedorov added a comment - - edited

          Fixed https://github.com/jenkinsci/performance-plugin/pull/122
          Will be available in version 3.3
          Thanks!

          Show
          artem_fedorov Artem Fedorov added a comment - - edited Fixed https://github.com/jenkinsci/performance-plugin/pull/122 Will be available in version 3.3 Thanks!

            People

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

              Dates

              • Created:
                Updated:
                Resolved: