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

HTML content not displaying in Jenkins Editable E-mail Notification

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • email-ext-plugin
    • None
    • Jenkins Server hosted on Linux.
      Jenkins Slave configured on Windows (Where Robot/RIDE is isntalled). Report.html & Log.html are stored on this windows machine.

      Unable to display the html contents (Report.html & Log.html generated by RIDE), in mail body of Editable E-mail Notification (Jenkins). It blocks the report opening, as it displays messgae as "Opening Robot Framework report Failed" (Verify Javascript enabled on ur browser). I don't see any such pop-ups either in local machine or on slave.

      Snippet Embedded in mail body:
      *<html>
      <body>
      ${FILE, path="C:\\Windows\\Jenkin_Slave\\Storage
      report.html"}
      </body>
      </html>*

          [JENKINS-32482] HTML content not displaying in Jenkins Editable E-mail Notification

          Alex Earl added a comment -

          The FILE token only allows stuff that is in the workspace I believe, for security reasons.

          Alex Earl added a comment - The FILE token only allows stuff that is in the workspace I believe, for security reasons.

          @Alex Earl : Thanks for your response. I tried copying the files from storage location to C:\Jenkins\Workspace\ , but still same issue.
          I guess it could be the problem of enabling javascript (Active ControlX). Could you please help me to resolve it ?
          Or is there any better way to display the contents of html in "Editable E-mail Notification" via jenkins ?

          Raghavendra SS added a comment - @Alex Earl : Thanks for your response. I tried copying the files from storage location to C:\Jenkins\Workspace\ , but still same issue. I guess it could be the problem of enabling javascript (Active ControlX). Could you please help me to resolve it ? Or is there any better way to display the contents of html in "Editable E-mail Notification" via jenkins ?

          Alex Earl added a comment -

          Most email clients won't allow showing JavaScript enabled html.

          Alex Earl added a comment - Most email clients won't allow showing JavaScript enabled html.

          Alex Earl added a comment -

          This is not an issue with email-ext itself. It's an issue with trying to do something that email clients generally don't support.

          Alex Earl added a comment - This is not an issue with email-ext itself. It's an issue with trying to do something that email clients generally don't support.

            slide_o_mix Alex Earl
            raghavendra_ss Raghavendra SS
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: