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

Conditional Logic by Build Failure Analysis Plugin

      The naginator plugin has an advance feature that allows you to limit retries to only those build where a given regex is found in the log output.

      The Build Failure Analysis plugin is a plugin that flags jobs that fail for known reasons (also defined with regexes run against the log output). It would be nice if the naginator were aware of the BFA plugin and could be configured to only rebuild if the build failed for one or more BFA identified known reasons. The BFA also allows you to categorize reasons with tags so being able to only retry for reasons that are tagged a certain way (e.g. with a 'transient-issue' tag) would be great too.

          [JENKINS-32136] Conditional Logic by Build Failure Analysis Plugin

          ikedam added a comment -

          Naginator plugin provides following features since naginator-1.16:

          • Supports conditional execution (with flexible-publish plugin)
          • An build action for other plugins to mark the build to trigger naginator

          I don't know about build-failure-analyzer plugin, but it looks make sense for build-failure-analyzer plugin to provide a feature to execute other plugins conditionally or provide a condition evaluator for run-condition plugin, which is used by flexible-publish).

          ikedam added a comment - Naginator plugin provides following features since naginator-1.16: Supports conditional execution (with flexible-publish plugin) An build action for other plugins to mark the build to trigger naginator I don't know about build-failure-analyzer plugin, but it looks make sense for build-failure-analyzer plugin to provide a feature to execute other plugins conditionally or provide a condition evaluator for run-condition plugin, which is used by flexible-publish).

            t_westling Tomas Westling
            kbaltrinic Kenneth Baltrinic
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: