this should be consistent with the build history view.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7323 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-03-05 02:13:34 +00:00
1 parent 3b7ed606ec
commit 35f1a6bc8e
1 file changed
+2 -2
@@ -284,10 +284,10 @@ public abstract class Computer extends AbstractModelObject {
//
//
public void doRssAll( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
rss(req, rsp, " all builds", new RunList(getTiedJobs()));
rss(req, rsp, " all builds", getBuilds());
}
public void doRssFailed( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
rss(req, rsp, " failed builds", new RunList(getTiedJobs()).failureOnly());
rss(req, rsp, " failed builds", getBuilds().failureOnly());
}
private void rss(StaplerRequest req, StaplerResponse rsp, String suffix, RunList runs) throws IOException, ServletException {
RSS.forwardToRss(getDisplayName()+ suffix, getUrl(),