continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r637697 - /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java
Date Mon, 17 Mar 2008 01:03:19 GMT
Author: wsmoak
Date: Sun Mar 16 18:03:17 2008
New Revision: 637697

URL: http://svn.apache.org/viewvc?rev=637697&view=rev
Log:
CONTINUUM-1692 Added an example of deleting the latest build result.

Modified:
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java?rev=637697&r1=637696&r2=637697&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java
Sun Mar 16 18:03:17 2008
@@ -123,6 +123,15 @@
 
         System.out.println();
 
+        System.out.println( "Removing latest build result." );
+        System.out.println( "============================" );
+        BuildResult lbr = client.getLatestBuildResult( ps.getId() );
+        System.out.println( "Removing build result " + lbr.getId() );
+        client.removeBuildResult( lbr );
+        System.out.println( "Done.");
+
+        System.out.println();
+
         System.out.println( "Projects list." );
         System.out.println( "=====================" );
         List projects = client.getProjects( projectGroupId );



Mime
View raw message