• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • htmlpublisher-plugin
    • Jenkins 2.319.2, htmlpublisher 1.28

      The log show the publish is successful, but there is no side bar or even can't be access with link directly; same code is working well on Jenkins 2.289.2 and htmlpublisher 1.25

      [Pipeline] publishHTML
      11:01:03 [htmlpublisher] Archiving HTML reports...
      11:01:03 [htmlpublisher] Archiving at PROJECT level /home/jenkins/agent/workspace/DevOps/pipeline-html-report/trivy to /var/jenkins_home/jobs/DevOps/jobs/pipeline-html-report/htmlreports/Vulnerability_20Report

          [JENKINS-67646] htmlpublisher does not working with 2.319.2

          Joe Lee created issue -
          Dima Rogozin made changes -
          Comment [ I think I am hitting the same. No index.html is generated, no error in the logs. 

          Because no index.html is generated I get this on JS console while trying to view it in Jenkins: 
          {code:java}
          Uncaught TypeError: Cannot read properties of null (reading 'setAttribute')
              at updateBody ((index):79:41)
              at init ((index):87:2)
              at onload ((index):125:30)
          {code}

          It started about 10 days ago for us. I do not think jenkins or html publisher has been updated. I do know we added a lot more Cypress tests (we use HTML publisher for Cypress tests).

          Right now I am upgraded to Jenkins 2.333 and Publisher 1.28. No luck.

          This is a priority issue for us so happy to help debugging if needed.

          ]
          Sergey Oplavin made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

            r2b2_nz Richard Bywater
            joelee Joe Lee
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: