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/08/01 18:10:29 UTC

[maven-jdeps-plugin] branch master updated: Jenkins having trouble to match JAVA_HOME

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-jdeps-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new da53a7f  Jenkins having trouble to match JAVA_HOME
da53a7f is described below

commit da53a7fbec6c495c33a78711e55f723dd145b159
Author: rfscholte <rf...@apache.org>
AuthorDate: Wed Aug 1 20:10:24 2018 +0200

    Jenkins having trouble to match JAVA_HOME
---
 src/it/package/verify.groovy | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/it/package/verify.groovy b/src/it/package/verify.groovy
index 95ec277..3d4cbf3 100644
--- a/src/it/package/verify.groovy
+++ b/src/it/package/verify.groovy
@@ -19,14 +19,13 @@
  */
  
 def buildLog = new File( basedir, 'build.log' )
-def env = System.getenv()
 
 if ( System.getProperty('java.verion', '8') == '8' )
 {
   // classes -> c:\Program Files\Java\jdk1.8.0_152\jre\lib\rt.jar
   //   org.apache.maven.plugins.jdeps.its (classes)
   //      -> java.io  
-  assert 2 == buildLog.readLines().dropWhile{ !it.startsWith("classes -> ${env.JAVA_HOME}") }.drop(1).takeWhile{ !it.startsWith( '[INFO]' ) }.size()
+  assert 2 == buildLog.readLines().dropWhile{ !it.startsWith("classes -> ") }.drop(1).takeWhile{ !it.startsWith( '[INFO]' ) }.size()
 }
 else
 {