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

Only one cause is shown in list view

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Expected behavior:

      the plugin detects two failure causes. Both failure causes are displayed in the list view.

      Actual behavior:

      the plugin detects two failure causes. Only the first failure cause is displayed in the list view.

       

        Attachments

          Activity

          Hide
          pekkama Pekka Mäki-Asiala added a comment -

          In case "someone" is using plugin with jenkins jobs executing automated tests to gather statistics on test failure causes it would be extremely beneficial to be able to list all failure causes (defined in the Failure Cause Management section).

          Show
          pekkama Pekka Mäki-Asiala added a comment - In case "someone" is using plugin with jenkins jobs executing automated tests to gather statistics on test failure causes it would be extremely beneficial to be able to list all failure causes (defined in the Failure Cause Management section).
          Hide
          fbutter Florian Butter added a comment -

          Hi Ian Williams, thank you for your participation.

          After a build fails, the plugin uses the configured set of regular expressions to scan the log for failure causes. Multiple causes are possible. All failure causes are detected as expected, but not displayed in the list view. The build monitor, for example, displays two failure causes, the list view just one.

          Show
          fbutter Florian Butter added a comment - Hi Ian Williams , thank you for your participation. After a build fails, the plugin uses the configured set of regular expressions to scan the log for failure causes. Multiple causes are possible. All failure causes are detected as expected, but not displayed in the list view. The build monitor, for example, displays two failure causes, the list view just one.
          Hide
          ianw Ian Williams added a comment -

          Not an expert, just a user of the plugin, but my expectation is once you fail, you fail.; you can't fail again. Most jobs stop/exit upon first failure. Perhaps what you are seeking to do is distinguish between failure that reports a failure (eg: java.io.IOException) and different subsequent causes. In that case, you probably want multiline regex that match the different contexts. That was our scenario. Or just match the specific second failure/cause(s).

          Show
          ianw Ian Williams added a comment - Not an expert, just a user of the plugin, but my expectation is once you fail, you fail.; you can't fail again. Most jobs stop/exit upon first failure. Perhaps what you are seeking to do is distinguish between failure that reports a failure (eg: java.io.IOException) and different subsequent causes. In that case, you probably want multiline regex that match the different contexts. That was our scenario. Or just match the specific second failure/cause(s).

            People

            Assignee:
            t_westling Tomas Westling
            Reporter:
            fbutter Florian Butter
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: