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

[HTML Publisher] Add to config's Publishing options "Files included but not published"

      Currently

      If I rely on the config's default of Include files (**/*) with the following Maven report dirs:

      +- .../target/site
         +- css
         |  +- *.css
         +- images
         |  +- *.gif
         |  +- *.png
         +- *.html
      

      The HTML Publisher's main page looks like:

      i.e. it includes all files to view though *.css and images are just associated with *.html, of course, and should not be considered there.

      Future option in the config

      Files included but not published

      **/*.css,**/*.gif,**/*.png                                  

          [JENKINS-72687] [HTML Publisher] Add to config's Publishing options "Files included but not published"

          Gerold Broser created issue -
          Gerold Broser made changes -
          Description Original: h2. Currently
          If I rely on the config's default of _Include files_ ({{{}**/*{}}}) with the following Maven report dirs:
          {code:bash}
          +- .../target/site
             +- css
             | +- *.css
             +- images
             | +- *.gif
             | +- *.png
             +- *.html
          {code}
          The HTML Publisher's main page looks like:

          !image-2024-02-08-17-28-15-622.png!

          i.e. it includes all files to view though {{\*.css}} and images are just associated with {{\*.html}}, of course, and should not be considered there.

          h2. Future option in the config

          Files included but not published
          | \*\*/\*.css,\*\*/\*.gif,\*\*/\*.png                                   |
          New: h2. Currently
          If I rely on the config's default of _Include files_ ({{\*\*/*}}) with the following Maven report dirs:
          {code:bash}
          +- .../target/site
             +- css
             | +- *.css
             +- images
             | +- *.gif
             | +- *.png
             +- *.html
          {code}
          The HTML Publisher's main page looks like:

          !image-2024-02-08-17-28-15-622.png!

          i.e. it includes all files to view though {{\*.css}} and images are just associated with {{\*.html}}, of course, and should not be considered there.

          h2. Future option in the config

          Files included but not published
          | \*\*/\*.css,\*\*/\*.gif,\*\*/\*.png                                   |

            r2b2_nz Richard Bywater
            geri Gerold Broser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: