-
Bug
-
Resolution: Fixed
-
Major
-
None
-
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.