You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2016/05/17 03:35:12 UTC
[jira] [Commented] (YETUS-369) Allow setting multijdk by branch;
e.g. jdk8 for master branch but jdk7 for older branches
[ https://issues.apache.org/jira/browse/YETUS-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285956#comment-15285956 ]
Allen Wittenauer commented on YETUS-369:
----------------------------------------
FYI. Having hit this issue in Hadoop, Yetus has an interesting property. If a JDK is given on the command line that is not installed, that JDK is effectively skipped. What we've done:
* branch-2 supports JDK7 and JDK8. It's dockerfile has JDK7 and JDK8 in it.
* trunk only supports JDK8. It's dockerfile only has JDK8 in it.
When yetus runs, it can't find JDK7 so just assumes that was a mistake, ignores it, and continues on only using JDK8. This, of course, requires docker mode and custom docker files to use.
> Allow setting multijdk by branch; e.g. jdk8 for master branch but jdk7 for older branches
> ------------------------------------------------------------------------------------------
>
> Key: YETUS-369
> URL: https://issues.apache.org/jira/browse/YETUS-369
> Project: Yetus
> Issue Type: Improvement
> Reporter: stack
> Assignee: Allen Wittenauer
> Fix For: 0.4.0
>
>
> Over in hbase, we'd like to have our master branch be jdk8 only but for older branches from which we are still making releases, we'd like to default jdk7. Mighty [~busbey] notes that this is not possible currently in yetus so am filing that I foresee projects needing this facility of yovely yetus.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)