-
Bug
-
Resolution: Unresolved
-
Minor
-
None
When using PipelineSyntax editor to setup htmlPublisher step, "reportTitles" argument is marked as optional:
The optional title(s) for the report files, which will be used as the tab names. If this is not provided, file names will be used instead.
However, pipeline build will fail if I omit it:
WorkflowScript: 30: Missing required parameter: "reportTitles" @ line 30, column 17.
publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'reports', reportFiles: 'index.html', reportName: 'Coverage reports'])
HTML publisher plugin version : 1.14
Jenkins version : 2.73.3
Are you able to provide a bit of context about where you are seeing the error? I've just tried a Pipeline script of:
And the build finishes with a success (i.e. no errors). If you could provide the full pipeline you are using (minus any sensitive info) then I can try reproduce again.