Unable to use *Publish HTML Reports* with pytest-html

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When attempting to build a HTML Report using pytest-html, the file is created in this path`file:///opt/repos/<git branch>/htmlreports/pytest-output.html`. However htmlpublisher is not correctly archiving it. With the console output indicating the results below.

      [htmlpublisher] Archiving at BUILD level /var/jenkins_home/workspace/<Jenkins project> to /var/jenkins_home/jobs/<Jenkins project>/builds/10/htmlreports/pytest-output
      

       

            Assignee:
            Richard Bywater
            Reporter:
            S R
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: