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

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

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.

            huybrechts huybrechts
            mwebber Matthew Webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: