You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/14 22:39:00 UTC

[jira] [Commented] (NIFI-5505) Need Travis CI for building NiFi on Java 11

    [ https://issues.apache.org/jira/browse/NIFI-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16907673#comment-16907673 ] 

ASF subversion and git services commented on NIFI-5505:
-------------------------------------------------------

Commit f671a37aedd273203861c20d7840979b7262d8d6 in nifi's branch refs/heads/master from Jeff Storck
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f671a37 ]

NIFI-5505 Added Java 11 build to Travis CI
Introduced stages to cache dependencies before build and test
Added --fail-never to dependency cache stage to allow dependency:go-offline to finish and update the cache with any dependencies that were able to be downloaded
Added download of AdoptOpenJDK 11.0.4 for the Java 11 build
Removed setting environment variables to enable easier sharing of cache between build, region/language settings are passed in via the command line when invoking maven
Formatted scripts to allow multiline commands for more readability
Replaced "exit ${PIPESTATUS[0]}" with "test ${PIPESTATUS[0]} -eq 0" to avoid using "exit" in script, which prevents Travis from completing the cache upload after the build completes
Install Maven 3.6.1 for the -ntp (no-transfer-progress) feature
Updated all build stages to exclude non-api nar and assembly modules to decrease build time
Dependency cache stages check if the cached maven repository doesn't exist or is empty before attempting to download dependencies

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #3644.


> Need Travis CI for building NiFi on Java 11
> -------------------------------------------
>
>                 Key: NIFI-5505
>                 URL: https://issues.apache.org/jira/browse/NIFI-5505
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Tools and Build
>            Reporter: Jeff Storck
>            Assignee: Jeff Storck
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> In addition to the multi-language Java 1.8 builds that are currently integrated into our CI with Travis, builds should be triggered for Java 11.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)