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

email-ext plugin can't recognize content file in workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • email-ext-plugin
    • email-ext plugin, Jenkins 1.651.3, Windows 7

      Set up email notification for any failed test. Created an html file and placed in root of workspace. Specified ${FILE, path="all_failed.html"} in the content block for the notification. Email is sent upon a failure, but the file pointed to by the content block cannot be found.
      Get the email message as:

      ERROR: File 'any_failure.html' does not exist

      Tried it with variations of spaces, quotes, and different types of files. Checked the syntax against the Content Token Reference (help question mark link) in the project configuration.

      Cannot get the content from the file.

      Tried moving the file and setting the path to the full path (referenced from "C:\") and also using the relative path to the workspace.

      Has anyone gotten this feature to work?

            davidvanlaatum David van Laatum
            gordon_madden Gordon Madden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: