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

Automatically release failed builds after the job begins passing

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • build-keeper-plugin
    • None

      It would be nice if under the "Keep the first failed build in a run of failures" there was a checkbox for "Release this build once the project is fixed". I really only need the failing build info (svn revision, console log) for debugging the cause of the failure, but want it to be released after the job has been fixed so it will be discarded automatically like the other builds.

      In our setup we have over 30 jobs and it is very common throughout the day for a job to switch to red briefly because of a typo or some other minor error and then go green (blue) again. The number of kept failing builds in the system would grow large fairly quickly without an option like this (or somebody doing a daily/weekly sweep to manually purge them).

            bap bap
            cgirard C Girard
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: