You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2018/03/13 12:00:17 UTC

[maven-compiler-plugin] branch master updated: add some debug for ASF Jenkins failure

This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 67573e0  add some debug for ASF Jenkins failure
67573e0 is described below

commit 67573e0d44a7737aa269e425608f93f9b205d7e7
Author: olivier lamy <ol...@apache.org>
AuthorDate: Tue Mar 13 21:59:44 2018 +1000

    add some debug for ASF Jenkins failure
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 src/it/MCOMPILER-192/verify.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/it/MCOMPILER-192/verify.groovy b/src/it/MCOMPILER-192/verify.groovy
index 1c330f5..8900f09 100644
--- a/src/it/MCOMPILER-192/verify.groovy
+++ b/src/it/MCOMPILER-192/verify.groovy
@@ -21,5 +21,7 @@ def logFile = new File( basedir, 'build.log' )
 assert logFile.exists()
 content = logFile.text
 
-assert content.contains( 'Usage: javac <options> <source files>' )
+if(!content.contains( 'Usage: javac <options> <source files>' )){
+  throw new RuntimeException( "log not containing Usage: javac <options> <source files> but " + content )
+}
 

-- 
To stop receiving notification emails like this one, please contact
olamy@apache.org.