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

Flavio Junqueira edited comment on KAFKA-2566 at 10/5/15 2:41 PM:
------------------------------------------------------------------

I have changed the jenkins configuration with [~ijuma]'s input. If all three 
builds are fine, we can close this jira. Unless the current set of changes is 
broken, new changes should be proposed in a different jira.

Here is a summary of the changes:
# There are three kafka builds now, and their names include the jdk version 
they are using.
# We've removed a build step for scala 2.11, an the current build doesn't 
specify the version explicitly.
# We've added a build for jdk8.
# We've set the output to include junit test reports. 


was (Author: fpj):
I have changed the jenkins configuration with [~ijuma]'s input. If all three 
builds are fine, we can close this jira. Unless the current set of changes is 
broken, new changes should be proposed in a different jira.

> 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 commands:
> ./gradlew -PscalaVersion=2.10.1 test
> ./gradlew -PscalaVersion=2.11 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 doing clean builds
> * The versions tested are defined in Jenkins instead of the build
> I suggest the following:
> 1. Change the `kafka-trunk-git-pr` job to use the `./gradlew clean testAll` 
> 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`
> We only test the PR job against Java 7 as it's executed much more often than 
> the trunk job.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to