Description setter does not handle the case when nothing matches the regex

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

XMLWordPrintable

      In the description setter plugin configuration for my job, I have specified a regex to match, and a description of "\1" (which means output the first match group).

      If no lines in the output match the regex, the description is set to the literal string "\1", which of course is just confusing.

      It would be useful if I coudl specify the description to set in the event that no lines matched.

            Assignee:
            huybrechts
            Reporter:
            Matthew Webber
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: