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

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


The following commit(s) were added to refs/heads/TEST_TO_FIX_MCOMPILER-192 by 
this push:
     new 18d6a71  Enhanced checkes.
18d6a71 is described below

commit 18d6a71c79aef9f3b72cde758a648d69c2662db5
Author: Karl Heinz Marbaise <[email protected]>
AuthorDate: Sun Mar 25 19:53:52 2018 +0200

    Enhanced checkes.
---
 src/it/MCOMPILER-192/verify.groovy | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/it/MCOMPILER-192/verify.groovy 
b/src/it/MCOMPILER-192/verify.groovy
index 0d4d796..df3d144 100644
--- a/src/it/MCOMPILER-192/verify.groovy
+++ b/src/it/MCOMPILER-192/verify.groovy
@@ -25,12 +25,15 @@ def content = logFile.getText('UTF-8')
 def checkResultSquare = content.contains ( '[INFO]' )
 def checkResult = content.contains ( '[INFO] BUILD FAILURE' )
 def checkExpected = content.contains( 'Usage: javac <options> <source files>' )
+def anothExpected = content.contains( '[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.7.1-SNAPSHOT:compile 
(default-compile) on project blah: Compilation failure -> [Help 1]')
+def twoFilesBeingCompiled = content.contains ( '[INFO] Compiling 2 source 
files to ' )
+
 def jenkins = System.getenv ( 'JENKINS_URL' );
 
 println "Jenkins: ${jenkins}"
 
 
-println "checkResult: ${checkResult} checkResultSquare: ${checkResultSquare} 
checkExpected:${checkExpected}"
+println "checkResult: ${checkResult} checkResultSquare: ${checkResultSquare} 
checkExpected:${checkExpected} anothExpected:${anothExpected} 
twoFilesBeingCompiled:${twoFilesBeingCompiled}"
 
 // Just a test ..
 if ( !content.contains ( '[INFO] BUILD FAILURE' ) ) {

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to