continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r264810 - in /maven/continuum/trunk: continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/ continuum-core/src/main/java/org/apache/maven/continuum/scm/ continuum-model/src/main/mdo/
Date Tue, 30 Aug 2005 16:51:32 GMT
Author: evenisse
Date: Tue Aug 30 09:51:24 2005
New Revision: 264810

URL: http://svn.apache.org/viewcvs?rev=264810&view=rev
Log:
[CONTINUUM-208] See the scm command that caused the failure

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
    maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java?rev=264810&r1=264809&r2=264810&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Tue Aug 30 09:51:24 2005
@@ -245,6 +245,12 @@
         }
         else
         {
+            if ( result.getCommandLine() != null )
+            {
+                error = "Command line: " + StringUtils.clean( result.getCommandLine() ) +
+                    System.getProperty( "line.separator" );
+            }
+
             if ( result.getProviderMessage() != null )
             {
                 error = "Provider message: " + StringUtils.clean( result.getProviderMessage()
) +

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java?rev=264810&r1=264809&r2=264810&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Tue Aug 30 09:51:24 2005
@@ -215,6 +215,8 @@
 
         result.setSuccess( scmResult.isSuccess() );
 
+        result.setCommandLine( scmResult.getCommandLine() );
+
         result.setCommandOutput( scmResult.getCommandOutput() );
 
         result.setProviderMessage( scmResult.getProviderMessage() );

Modified: maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo?rev=264810&r1=264809&r2=264810&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo (original)
+++ maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo Tue Aug 30 09:51:24 2005
@@ -386,6 +386,11 @@
           <type>boolean</type>
         </field>
         <field>
+          <name>commandLine</name>
+          <version>1.0.0+</version>
+          <type>String</type>
+        </field>
+        <field>
           <name>providerMessage</name>
           <version>1.0.0+</version>
           <type>String</type>



Mime
View raw message