[JIRA] (JENKINS-57339) HTML Plugins, how to mention dynamic reportfiles names with datetime stamp in publish html repoorts

0 views
Skip to first unread message

karthikspeed@gmail.com (JIRA)

unread,
May 6, 2019, 5:09:02 AM5/6/19
to jenkinsc...@googlegroups.com
Karthik Murali created an issue
 
Jenkins / Bug JENKINS-57339
HTML Plugins, how to mention dynamic reportfiles names with datetime stamp in publish html repoorts
Issue Type: Bug Bug
Assignee: Richard Bywater
Components: htmlpublisher-plugin
Created: 2019-05-06 09:08
Priority: Major Major
Reporter: Karthik Murali

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

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

richard@bywater.nz (JIRA)

unread,
Sep 13, 2019, 2:39:01 AM9/13/19
to jenkinsc...@googlegroups.com
Richard Bywater closed an issue as Not A Defect
 

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.

Change By: Richard Bywater
Status: Open Closed
Resolution: Not A Defect
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages