[JIRA] [htmlpublisher-plugin] (JENKINS-7139) HtmlPublisher should be able to handle wildcard paths to find multiple html files

26 views
Skip to first unread message

mcrooney@java.net (JIRA)

unread,
Oct 16, 2015, 12:41:02 PM10/16/15
to jenkinsc...@googlegroups.com
mcrooney resolved as Fixed
 

Ant patterns are supported in 1.7, hitting the update center soon, check it out and let me know how it works

Jenkins / New Feature JENKINS-7139
HtmlPublisher should be able to handle wildcard paths to find multiple html files
Change By: mcrooney
Status: Open Resolved
Resolution: Fixed
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

alan.qian@turn.com (JIRA)

unread,
Oct 24, 2015, 12:30:04 AM10/24/15
to jenkinsc...@googlegroups.com

mcrooney@java.net (JIRA)

unread,
Oct 24, 2015, 1:41:02 PM10/24/15
to jenkinsc...@googlegroups.com
mcrooney reopened an issue
 

Apologies, indeed, there were regressions in normal report archiving that required a revert. If anyone wants to look at improving https://github.com/jenkinsci/htmlpublisher-plugin/pull/17, it shouldn't be too hard.

Change By: mcrooney
Resolution: Fixed
Status: Resolved Reopened

most.wanted@gmx.at (JIRA)

unread,
Nov 15, 2015, 3:48:02 AM11/15/15
to jenkinsc...@googlegroups.com
most wanted commented on New Feature JENKINS-7139
 
Re: HtmlPublisher should be able to handle wildcard paths to find multiple html files

Is anybody able to re-implemnt this feature? Would be awesome. Thx.

most.wanted@gmx.at (JIRA)

unread,
Feb 3, 2017, 5:23:01 PM2/3/17
to jenkinsc...@googlegroups.com

Can i sponsor/support this feature?

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

most.wanted@gmx.at (JIRA)

unread,
Feb 3, 2017, 5:23:03 PM2/3/17
to jenkinsc...@googlegroups.com
most wanted edited a comment on New Feature JENKINS-7139
Can i I sponsor/support this feature to get it implemented again ?

mark.han@willowtreeapps.com (JIRA)

unread,
Jul 19, 2019, 10:19:03 AM7/19/19
to jenkinsc...@googlegroups.com
Mark Han commented on New Feature JENKINS-7139

Any update on this?

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

richard@bywater.nz (JIRA)

unread,
Sep 13, 2019, 2:32:05 AM9/13/19
to jenkinsc...@googlegroups.com

This should be fixed in 1.19 when released in that the Index pages will now allow an Ant style wildcard.

 

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

richard@bywater.nz (JIRA)

unread,
Sep 13, 2019, 2:32:08 AM9/13/19
to jenkinsc...@googlegroups.com
Change By: Richard Bywater
Status: Reopened Fixed but Unreleased
Assignee: mcrooney Richard Bywater
Resolution: Fixed

richard@bywater.nz (JIRA)

unread,
Sep 22, 2019, 6:49:10 AM9/22/19
to jenkinsc...@googlegroups.com
 
Re: HtmlPublisher should be able to handle wildcard paths to find multiple html files

Version 1.19 is out now (so should appear in update center soon). This adds ability for Ant style wildcards and hopefully should meet the requirements of this issue without the issue that happened in the previous implementation of it.

 

richard@bywater.nz (JIRA)

unread,
Sep 22, 2019, 6:49:12 AM9/22/19
to jenkinsc...@googlegroups.com

richard@bywater.nz (JIRA)

unread,
Sep 22, 2019, 6:50:03 AM9/22/19
to jenkinsc...@googlegroups.com

richard@bywater.nz (JIRA)

unread,
Sep 25, 2019, 6:05:07 AM9/25/19
to jenkinsc...@googlegroups.com

richard@bywater.nz (JIRA)

unread,
Sep 25, 2019, 6:05:07 AM9/25/19
to jenkinsc...@googlegroups.com
 
Re: HtmlPublisher should be able to handle wildcard paths to find multiple html files

Unfortunately once again this change has had to be backed out as it breaks people who don't run the jobs on the Jenkins master. It will be reintroduced soon hopefully once the code is tweaked to pick up the file from the right place so please hang tight

brice.dutheil@gmail.com (JIRA)

unread,
Oct 11, 2019, 9:18:04 AM10/11/19
to jenkinsc...@googlegroups.com

In the meantime, you can write :

 
script { def docFiles
dir ('build/docs/asciidoc/') { docFiles = findFiles glob: '**' {color:#9876aa}}
publishHTML target: [ allowMissing : false,
alwaysLinkToLastBuild: false,
keepAll : true,
reportDir : 'build/docs/asciidoc/',
reportFiles : docFiles.join(','),
reportName : 'Documentation' ]{color:#9876aa}}

brice.dutheil@gmail.com (JIRA)

unread,
Oct 11, 2019, 9:19:03 AM10/11/19
to jenkinsc...@googlegroups.com
Brice Dutheil edited a comment on New Feature JENKINS-7139
In the meantime, you can write :

 
script { color code : #9876aa java } {
script { color}    {color:#cc7832}
def {color} docFiles
    dir
{color:#9876aa} ( {color}{color:#6a8759} 'build/docs/asciidoc/' {color}{color:#9876aa} ) {
{color}         docFiles = findFiles {color:#6a8759} glob {color} : {color:#6a8759} '**'
{color }     {color:#9876aa}}
{color}     publishHTML {color:#6a8759} target {color} : {color:#9876aa} [
{color}        {color:#6a8759} allowMissing          {color} : {color:#cc7832} false {color} ,
        {color:#6a8759} alwaysLinkToLastBuild {color} : {color:#cc7832} false {color} ,
        {color:#6a8759} keepAll               {color} : {color:#cc7832} true {color} ,
        {color:#6a8759} reportDir             {color} : {color:#6a8759} 'build/docs/asciidoc/' {color} ,
        {color:#6a8759} reportFiles           {color} : docFiles.join {color:#9876aa} ( {color}{color:#6a8759} ',' {color}{color:#9876aa} ) {color} ,
        {color:#6a8759} reportName            {color} : {color:#6a8759} 'Documentation'
{color}    {color:#9876aa} ]
{color } {color:#9876aa}}

{ color code }
 

 

richard@bywater.nz (JIRA)

unread,
Oct 20, 2019, 4:02:05 AM10/20/19
to jenkinsc...@googlegroups.com

Hi everyone - I believe I now have a fix for the issue that caused the rollback and I have now produced a beta release which it would be good to get people to have a play with and see if it meets their needs. To get the beta release (1.22-beta-1) you'll need to set your Jenkins Update Centre URL to https://updates.jenkins.io/experimental/update-center.json as documented at https://jenkins.io/doc/developer/publishing/releasing-experimental-updates/#using-the-experimental-update-center

I've only just released the beta version so I'd imagine it might take up to 24 hours or so to show up in the update centre. Once you've had a play, it would be great if you could report back here on how you got on. If you have jobs that use the previous "normal" way you can test all the better as I'd really like to get some real usage info before releasing it publicly again.

Thanks in advance

s.stautz85@gmail.com (JIRA)

unread,
Jan 20, 2020, 8:47:07 AM1/20/20
to jenkinsc...@googlegroups.com

richard@bywater.nz (JIRA)

unread,
Feb 22, 2020, 11:24:03 PM2/22/20
to jenkinsc...@googlegroups.com

Hi again everyone. I've finally released this as v1.22 (apologies for the long delay - I actually thought I'd released it before Christmas but obviously not :/ ). The new version should show up in the next day or so depending on the Jenkins update centre update job.

richard@bywater.nz (JIRA)

unread,
Feb 22, 2020, 11:24:08 PM2/22/20
to jenkinsc...@googlegroups.com

jampanisiva.krishna@gmail.com (JIRA)

unread,
Mar 20, 2020, 5:51:04 PM3/20/20
to jenkinsc...@googlegroups.com
siva krishna jampani commented on New Feature JENKINS-7139
 
Re: HtmlPublisher should be able to handle wildcard paths to find multiple html files

How to pass report path dynamically?

ex: target/reports/<currentdate>/index.html

How can I ignore currentdate in reports path while publishing in Jenkins?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages