kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Juma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-2566) Improve Jenkins set-up
Date Fri, 02 Oct 2015 22:37:26 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941903#comment-14941903

Ismael Juma commented on KAFKA-2566:

Guozhang, it looks good to me apart from the PR job. We should use the lowest version of Java
and Scala to ensure people don't use features from the newer version (as per my original suggestion).

> Improve Jenkins set-up
> ----------------------
>                 Key: KAFKA-2566
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2566
>             Project: Kafka
>          Issue Type: Task
>            Reporter: Ismael Juma
> There are currently two Jenkins jobs:
> https://builds.apache.org/job/Kafka-trunk
> https://builds.apache.org/job/kafka-trunk-git-pr
> They both run with Java 7 and execute the following gradle command:
> ./gradlew -PscalaVersion=2.10.1 test
> There are a few issues with this:
> * We don't test Java 8 even though that's the only stable release of the JDK that still
receives security fixes
> * We are testing with Scala 2.10.1 even though we should be testing with Scala 2.10.5
> * We are not testing with Scala 2.11.x
> * We are not doing clean builds
> I suggest the following:
> 1. Change the `kafka-trunk-git-pr` job to use the `./gradlew clean test` command.
> 2. Change the `Kafka-trunk` job to use the `./gradlew clean jarAll docsJarAll testAll`
> 3. Introduce a kafka-trunk-jdk8 job with the command `./gradlew clean jarAll docsJarAll
> This is a compromise that doesn't slow down the PR job (which is executed much more often)
while still testing trunk in all of our supported JDK and Scala versions.

This message was sent by Atlassian JIRA

View raw message