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 5aecd35 Changed error message checking part.
5aecd35 is described below
commit 5aecd359c14268cbe4f8cf0a30c27d08478e0e15
Author: Karl Heinz Marbaise <[email protected]>
AuthorDate: Sun Mar 25 20:41:10 2018 +0200
Changed error message checking part.
---
src/it/MCOMPILER-192/verify.groovy | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/it/MCOMPILER-192/verify.groovy
b/src/it/MCOMPILER-192/verify.groovy
index 55074eb..2c74a9c 100644
--- a/src/it/MCOMPILER-192/verify.groovy
+++ b/src/it/MCOMPILER-192/verify.groovy
@@ -30,7 +30,13 @@ def causedByExpected = content.contains ( 'Caused by:
org.apache.maven.plugin.co
def twoFilesBeingCompiled = content.contains ( '[INFO] Compiling 2 source
files to ' )
def checkResult = content.contains ( '[INFO] BUILD FAILURE' )
def compilationFailure1 = content.contains( '[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:')
-def compilationFailure2 = content.contains( ':compile (default-compile) on
project blah: Compilation failure -> [Help 1]')
+
+// This is the message on JDK 7 / Windows
+// [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.1-SNAPSHOT:compile
(default-compile) on project blah: Compilation failure
+// This is the message on JKD 8 / Linux
+// [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 compilationFailure2 = content.contains( ':compile (default-compile) on
project blah: Compilation failure')
println "Jenkins: causedByExpected:${causedByExpected}
twoFilesBeingCompiled:${twoFilesBeingCompiled} checkResult: ${checkResult}
compilationFailure1: ${compilationFailure1} compilationFailure2:
${compilationFailure2}"
--
To stop receiving notification emails like this one, please contact
[email protected].