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

      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

       

          [JENKINS-47989] HTML publisher argument reportTitles is marked as optional in PipelineSyntax editor, but it's required

          Richard Kosegi created issue -
          Richard Bywater made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Stephan Hadamik made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Richard Bywater made changes -
          Status Original: Reopened [ 4 ] New: In Progress [ 3 ]

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

              Created:
              Updated: