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

Provide a default string for BUILD_LOG_REGEX if match is not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      If no match is found the value returned by BUILD_LOG_REGEX is empty, which makes the resulting emails difficult to read. It would be great if we could provide a suitable default value. An example is given below:

      ${BUILD_LOG_REGEX, regex="^
      *

      {3}

      Application: (.*)$", maxMatches=1, showTruncatedLines=false, substText="$1", addNewline=false, noMatchText="UNKNOWN"}

            slide_o_mix Alex Earl
            davehunt Dave Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: