HTML Plugins, how to mention dynamic reportfiles names with datetime stamp in publish html repoorts

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In Pipeline syntax for Publish html reports, My Execution reports are generated with different timestamps, however not sure how to mention the dynamic file names in publish html reports syntax below :

      file Format - testreport_dd-mm-yyy-hh-mm-ss.html

      // code placeholder
      publishHTML (target : [allowMissing: false,
       alwaysLinkToLastBuild: true,
       keepAll: true, 
       reportDir: 'coverage', 
       reportFiles: 'testreport_dd-mm-yyy-hh-mm-ss.html', 
       reportName: 'HTML Report', 
       reportTitles: 'Gucci-API Tests'])
      

       

            Assignee:
            Richard Bywater
            Reporter:
            Karthik Murali
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: