[ https://issues.apache.org/jira/browse/KAFKA-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942257#comment-14942257 ]
Ismael Juma commented on KAFKA-2566: ------------------------------------ [~junrao], thanks for the correction, I had missed that we invoke gradle a second time with "-PscalaVersion=2.11". I will update the description to make this clear. I still think that it's better to use `testAll` because it will automatically do the right thing as we update the build. Having said that, this changes perhaps what we should do for the PR job, if we are already testing multiple Scala versions there. Maybe it should be: 1. kafka-trunk-jdk7: "Poll SCM" every hour, GRADLE_2_1, jdk-1.7u51, "./gradlew clean jarAll docsJarAll testAll" 2. kafka-trunk-jdk8: "Poll SCM" every hour, GRADLE_2_1, jdk1.8.0_45, "./gradlew clean jarAll docsJarAll testAll" 3. kafka-trunk-git-pr-jdk8: "Pull requests", GRADLE_2_1, jdk1.7.0_51, "./gradlew clean testAll" Thoughts? [~guozhang], for the Java 8 build, we need to merge Gwen's javadoc PR: https://github.com/apache/kafka/pull/147 > 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` command. > 3. Introduce a kafka-trunk-jdk8 job with the command `./gradlew clean jarAll > docsJarAll testAll` > 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 (v6.3.4#6332)