Provide a default string for BUILD_LOG_REGEX if match is not found

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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"}

            Assignee:
            Alex Earl
            Reporter:
            Dave Hunt
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: