[JIRA] Created: (HUDSON-8413) Avoid running flog when build fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[JIRA] Created: (HUDSON-8413) Avoid running flog when build fails

Kohsuke Kawaguchi
Avoid running flog when build fails

                 Key: HUDSON-8413
                 URL: http://issues.hudson-ci.org/browse/HUDSON-8413
             Project: Hudson
          Issue Type: Improvement
          Components: rubyMetrics
            Reporter: Yosarian
            Assignee: david_calavera
            Priority: Minor

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).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira