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

Jenkins 2.168 prevent HTML Publisher to copy html report from agent to master

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core

      Hi there,

       

      After updating Jenkins to version 2.168 I started experiencing build failure using the html publisher plugin

       

      publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: 'target', reportFiles: 'docs/index.html', reportName: 'SmartRoaming API', reportTitles: ''])

       

      Would result into the following console output and build failure:

       

      08:26:47  [htmlpublisher] Archiving at BUILD level C:/Jenkins2/workspace/t_RDSFTUKTCL_comms-app-api_PR-12/smart-roaming-api/target to /var/lib/jenkins/jobs/Bitbucket Project/jobs/RDSFTUKTCL/jobs/comms-app-api/branches/PR-12/builds/14/htmlreports/SmartRoaming_20API
      08:26:47  ERROR: Directory 'C:/Jenkins2/workspace/t_RDSFTUKTCL_comms-app-api_PR-12/smart-roaming-api/target' exists but failed copying to '/var/lib/jenkins/jobs/Bitbucket Project/jobs/RDSFTUKTCL/jobs/comms-app-api/branches/PR-12/builds/14/htmlreports/SmartRoaming_20API'. 

       

      Downgrading Jenkins to version 2.167 fixes the issue.

       

      Would you please advise/support me with that matter?

       

       

            wfollonier Wadeck Follonier
            rvangoethem Remi Van Goethem
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: