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

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

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'])
      

       

            r2b2_nz Richard Bywater
            karthiksm7 Karthik Murali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: