- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
Major
 - 
    Blue Ocean - 1.3.0
HTML Publisher - 1.14
Jenkins - 2.86
Running on Vagrant using the AWS Debian image (jessie 64 bit)
Java: openjdk-8-jre
Latest stable version of chrome 
Problem
HTML publisher step cannot be edited in the pipeline editor
Original description
When using the Blue Ocean pipeline editor I cannot make use of the HTML Publisher plugin. I attempt to add a step under a stage by selecting add step and then Publish HTML Reports. I get a field for Target and no matter what I enter in the field I get this error:
- Expecting "class htmlpublisher.HtmlPublisherTarget" but got "<TARGET PARAMS HERE>" of type class java.lang.String instead
 
I can temporarily work around this by placing the following code in the Jenkinsfile directly:
publishHTML(target: [
 allowMissing: false,
 alwaysLinkToLastBuild: false,
 keepAll: true,
 reportDir: 'coverage',
 reportFiles: 'index.html',
 reportTitles: "SimpleCov Report",
 reportName: "SimpleCov Report"
 ])
This seems to work but if I modify the pipeline through the UI it will remove the text 'target:' from the parameter yielding:
publishHTML([
 allowMissing: false,
 alwaysLinkToLastBuild: false,
 keepAll: true,
 reportDir: 'coverage',
 reportFiles: 'index.html',
 reportTitles: "SimpleCov Report",
 reportName: "SimpleCov Report"
 ])
Which doesn't work. Once the pipeline runs I get validation errors on the newly generated object from the Blue Ocean UI. Any help would be appriciated.
- relates to
 - 
                    
JENKINS-51403 Allow simplified Pipeline surface syntax
-         
 - Open
 
 -