Issue Type: Improvement Improvement
Assignee: Félix Belzunce Arcos
Components: discard-old-build-plugin
Created: 28/Nov/14 7:52 AM
Description:

updateBuildsList calls keepLastBuilds by default what end up with the following builds no consider by the plugin for all the option running in perform:

if (r.isBuilding()) continue;
if (r == lastBuild) continue;
if (r == lastCompletedBuild) continue;
if (r == lastFailedBuild) continue;
if (r == lastStableBuild) continue;
if (r == lastSuccessfulBuild) continue;
if (r == lastUnstableBuild) continue;
if (r == lastUnsuccessfulBuild) continue;
newList.add(r);
}

This might be an optional as is quite confusing as you can end up specifying you want `Max of builds to keep=X`, but then have in the build history X+DELTA.

Project: Jenkins
Priority: Minor Minor
Reporter: Félix Belzunce Arcos
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to