You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/03/23 11:31:30 UTC

[maven-compiler-plugin] branch master updated: [MCOMPILER-192] Add XOR check for Jenkins

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

rfscholte 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 e439e70  [MCOMPILER-192] Add XOR check for Jenkins
e439e70 is described below

commit e439e705c1c39813d08b5e74b3273fe2a20e0968
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Mar 23 12:31:23 2018 +0100

    [MCOMPILER-192] Add XOR check for Jenkins
---
 src/it/MCOMPILER-192/verify.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/it/MCOMPILER-192/verify.groovy b/src/it/MCOMPILER-192/verify.groovy
index 6c642d9..b6785e2 100644
--- a/src/it/MCOMPILER-192/verify.groovy
+++ b/src/it/MCOMPILER-192/verify.groovy
@@ -21,7 +21,8 @@ def logFile = new File( basedir, 'build.log' )
 assert logFile.exists()
 content = logFile.text
 
-if(!content.contains( 'Usage: javac <options> <source files>' )){
+// Disable for Jenkins. Once fixed, this test will fail again. In that case remove the JENKINS_URL again. 
+if( !content.contains( 'Usage: javac <options> <source files>' ) ^ System.getenv( 'JENKINS_URL') != null ){
   throw new RuntimeException( "log not containing Usage: javac <options> <source files> but <startLog>" + content + "</startLog>")
 }
 

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