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

Avoid running flog when build fails

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rubyMetrics-plugin
    • None

      Currently flog (as do the other metrics) run even when the build fails. Given that flog is generally pretty slow to run (in my case 2-3 times slower than the build itself), it would seem this is not the optimal setup.

      I would recommend NOT processing any of the metric post actions unless the build succeeds. Alternately, config parameters could be setup to specify whether the action runs only on success or not (in case there are some cases to always run them).

            david_calavera david_calavera
            yosarian Yosarian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: