Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 68511 invoked from network); 4 May 2009 08:24:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 May 2009 08:24:15 -0000 Received: (qmail 10893 invoked by uid 500); 4 May 2009 08:24:15 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 10849 invoked by uid 500); 4 May 2009 08:24:14 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 10839 invoked by uid 99); 4 May 2009 08:24:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 08:24:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 08:24:06 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id EC84C14A81A2 for ; Mon, 4 May 2009 03:23:44 -0500 (CDT) Message-ID: <17156523.116131241425424949.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 4 May 2009 03:23:44 -0500 (CDT) From: "Bernhard Trummer (JIRA)" To: issues@continuum.apache.org Subject: [jira] Commented: (CONTINUUM-2148) Purging build results via scheduler won't delete build results in the internal database In-Reply-To: <12103972.1237883772920.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=175019#action_175019 ] Bernhard Trummer commented on CONTINUUM-2148: --------------------------------------------- Wendy, here's the code snippet I'm using to clean up the build history. {code} for (ProjectGroupSummary projectGroup : client.getAllProjectGroups()) { for (ProjectSummary project : client.getProjects(projectGroup.getId())) { for (BuildResultSummary buildResultSummary : client.getBuildResultsForProject(project.getId())) { BuildResult buildResult = client.getBuildResult(project.getId(), buildResultSummary.getId()); client.removeBuildResult(buildResult); } } } {code} > Purging build results via scheduler won't delete build results in the internal database > --------------------------------------------------------------------------------------- > > Key: CONTINUUM-2148 > URL: http://jira.codehaus.org/browse/CONTINUUM-2148 > Project: Continuum > Issue Type: New Feature > Affects Versions: 1.2.3 > Environment: Linux, Sun Java SDK 1.5.0_16 > Reporter: Bernhard Trummer > Priority: Minor > Fix For: 1.4.x > > > When creating a purge definition (+scheduler) for build results in the web interface, old build results will be deleted in the file system's build-output-directory, but in the web interface (when clicking on the "Builds" tab after selecting a project) there are still shown all build results. So it looks like that the build results in the internal database are not deleted by the purge job. > Alternatively, when deleting a build result via the XMLRPC interface, it is deleted from the build-output-directory as well as the internal database - the build then is not shown anymore in the web interface. IMHO this should be the expected behavior for the scheduled purge jobs too. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira