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

Unable to get the token FILE to work as documented

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      jenkins v1.413
      email-ext v2-14
    • Similar Issues:

      Description

      I'm unable to get the token FILE to work as documented:

      ${FILE, path} - Includes the content of a specified file.
      path - The path to the file. Relative to the workspace root.
      

      In the mail content definition I have something like

      Executed with the following <b>build.cs</b>:<br/>
      ${FILE,build.cs}
      

      In the mail received it just shows the normal html result but without evaluating the token FILE and including the content of the file build.cs (which is visible on the root of workspace).

        Attachments

          Activity

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              josesa Jose Sa
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: