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

HTML publisher argument reportTitles is marked as optional in PipelineSyntax editor, but it's required

XMLWordPrintable

      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

       

            r2b2_nz Richard Bywater
            rkosegi Richard Kosegi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: