-
Bug
-
Resolution: Not A Defect
-
Major
-
None
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'])
With Pipeline, the reportFiles parameter is expected to be a resolved string that has been set - therefore you will need to come up with a way of determining the timestamp fo the testreport and populating reportsFiles with a string that contains the result.
Please note that I'm closing this issue as it isn't really a defect and instead should be a question asked on the Jenkins User mailing list or similar.