jtstorck commented on issue #3644: [WIP] NIFI-5505 Added Java 11 build to 
Travis CI
URL: https://github.com/apache/nifi/pull/3644#issuecomment-520229809
 
 
   @pvillard31 There are a couple things that can be done to share the Maven 
repo.  I need to tweak the script that determines if the dependency:go-offline 
stage should run or not.  It's checking to see if there's an .m2 directory, but 
it needs to also check if there are directories within .m2, since the cache 
step creates .m2 even if there isn't anything in it.
   
   The way that Travis creates caches is based on a few factors/settings, and 
one of them is the JDK being used by the job/stage.  Since the builds either 
specify a JDK, or use a custom JDK with no label, two separate caches are 
created by Travis.  I could specify that all the build stages should use the 
same cache, but I'd like to avoid messing with the cache functionality.  On my 
branch (before I created the PR) the builds were working because the 
dependencies were cached.  After tweaking the caching stage jobs, the builds 
should complete successfully.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to