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

Allow more than 1 line as indicator

XMLWordPrintable

      Right now the build failure analyzer accepts 1 line of regular expression as an indicator for failure cause. However, in my experience many failures causes need more than 1 line to be identified.

      For example, an error message may be "ExitCode: 1" from a shell script, which normally means the previous command failed. If the plugin supported regular expression on multiple lines, this would allow a more accurate failure cause to be identified by reading the lines before or after the error message. Perhaps a user setting on how many lines are allowed to be parsed each time should be provided to limit performance impact.

      Allowing more than one line per failure cause indication could potentially give significant improvement to this plugin.

            abayer Andrew Bayer
            baris_batiege Baris Batiege
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: