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

${FILE,path=<<path_to_input_file>>"} is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Jenkins version 2.492.2 (email-ext plugin version 400.v3542)

      I have $FILE, path configured in "Default content" of my Jenkins job. This was working fine earlier but the same is not working after I upgrade Jenkins to 2.492.2 which brings Email Extension plugin version 400.v3542.

      Trying to send an email using $FILE, path in editable email but it is throwing an error saying that file does not exist but the file exists and was working before Jenkins upgrade.

      Steps to reproduce:
      Create a new Jenkins job and add the below as "Default Content" in Editable Email Notification:

      <pre style='line-height: 22px; display: block; color: #333; font-family: Monaco,Menlo,Consolas,"Courier New",monospace; padding: 10.5px; margin: 0 0 11px; font-size: 13px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid #ccc; border: 1px solid rgba(0,0,0,.15); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;'>

      ${FILE,path=<<path_to_input_file>>"}

      </pre>

      Ensure that <<path_to_input_file>> is available.

      Run the Jenkin job

            Unassigned Unassigned
            parajaganesh Ganesh Kumar
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: