Thanks, I have set up an automatic purge schedule and I also have a cron to remove the build directory contents which are older than 30 days. But the build results slowing down continuum UI comes from the continuum internal database. This is where I am not clear - how to purge the database build details. This will speed the UI up, I believe.
Thanks. Murali Mohan. On Wed, Feb 29, 2012 at 12:52 AM, Louis Smith <[email protected]>wrote: > Sorry, I haven't been on that release in several years, and don't remember > how the purge worked. All of our developers check the build logs directory > daily and usually purge them - and I have the automatic purge schedule > running fairly aggressively - but I'm on 1.4.1. > > I also have external jobs that run every night to produce our dashboards - > and those jobs also clean up the database and delete files - so I've never > run into the issue of hundreds of log entries on the build page. > > Louis > > On Tue, Feb 28, 2012 at 8:32 AM, murali mohan <[email protected]> > wrote: > > > Any advice at all? > > > > Thanks, > > Murali Mohan > > > > On Fri, Feb 24, 2012 at 1:33 PM, murali mohan <[email protected]> > > wrote: > > > > > Hello all, > > > > > > The build results page is very very slow in our continuum (1.3.6) > > > installation because of a list of build results running into hundreds > in > > > number. > > > > > > Was trying to execute BuildResultsPurge as was mentioned in this forum. > > > > > > > > > - Downloaded the latest continuum source from trunk. (where I could > > > find the BuildResultsPurge class) > > > - Built the whole set of projects from root. > > > - Edited the pom.xml in continuum-xmlrpc-client to have the > following > > > snippet: > > > > > > > > > <plugin> > > > <groupId>org.codehaus.mojo</groupId> > > > <artifactId>exec-maven-plugin</artifactId> > > > <configuration> > > > <executable>java</executable> > > > > > > > > > <mainClass>org.apache.maven.continuum.xmlrpc.client.BuildResultsPurge</mainClass> > > > <arguments> > > > <!--argument>-Dmyproperty=myvalue</argument> > > > <argument>-classpath</argument--> > > > <!-- automatically creates the classpath using all project > > > dependencies, > > > also adding the project build directory --> > > > <!--classpath /--> > > > <argument>http://lambo:9000/continuum/xmlrpc</argument> > > > <argument>admin</argument> > > > <argument>****</argument> > > > </arguments> > > > </configuration> > > > </plugin> > > > > > > > > > - Tried to run the command "mvn clean exec:exec" deom the root > folder > > > of continuum-xmlrpc-client project > > > - Getting an error - --- exec-maven-plugin:1.1-beta-1:exec > > > (default-cli) @ continuum-xmlrpc-client --- > > > [INFO] Exception in thread "main" java.lang.NoClassDefFoundError: > > > http://lambo:9000/continuum/xmlrpc > > > [INFO] Caused by: java.lang.ClassNotFoundException: > > > http:..lambo:9000.continuum.xmlrpc > > > [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > > > [INFO] at java.security.AccessController.doPrivileged(Native > > > Method) > > > [INFO] at > > > java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > > [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > > > [INFO] at > > > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > > [INFO] Could not find the main class: > > > http://lambo:9000/continuum/xmlrpc. Program will exit. > > > > > > > > > Am not sure if this is how to run this as I have not used continuum > > xmlrpc > > > at all. Clueless about that project. Please guide me. > > > > > > Thanks, > > > Murali Mohan > > > > > > > > > > > > -- > Dr. Louis Smith, ThD > Chief Technology Officer, Kyra InfoTech > Colonel, Commemorative Air Force >
