[ 
https://issues.apache.org/jira/browse/KAFKA-8009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dejan Stojadinović updated KAFKA-8009:
--------------------------------------
    Description: 
*Rationale:*
 * Kafka project already uses gradle 5.x (5.1.1 at the moment)
 * recently released *spotbugs-gradle-plugin* version 1.6.10 drops support for 
Gradle 4: 
[https://github.com/spotbugs/spotbugs-gradle-plugin/blob/1.6.10/CHANGELOG.md#1610---2019-02-18]
  

*Note:* related github pull request that contains spotbugs plugin version bump 
(among other things): 
[https://github.com/apache/kafka/pull/6332#issuecomment-467631246]

{code}
22:42:44 Setting GRADLE_4_10_2_HOME=/home/jenkins/tools/gradle/4.10.2
22:42:44 [kafka-pr-jdk11-scala2.12] $ /bin/bash -xe 
/tmp/jenkins5613406374589745135.sh
22:42:44 + rm -rf 
/home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.12/.gradle
22:42:44 + /home/jenkins/tools/gradle/4.10.2/bin/gradle
22:42:45 To honour the JVM settings for this build a new JVM will be forked. 
Please consider using the daemon: 
https://docs.gradle.org/4.10.2/userguide/gradle_daemon.html.
22:42:47 Daemon will be stopped at the end of the build stopping after 
processing
22:42:58 
22:42:58 FAILURE: Build failed with an exception.
22:42:58 
22:42:58 * Where:
22:42:58 Build file 
'/home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.12/build.gradle' 
line: 155
22:42:58 
22:42:58 * What went wrong:
22:42:58 A problem occurred evaluating root project 'kafka-pr-jdk11-scala2.12'.
22:42:58 > Failed to apply plugin [id 'com.github.spotbugs']
22:42:58    > Gradle version Gradle 4.10.2 is unsupported. Please use Gradle 
5.0 or later.
{code}

 

 

 

  was:
*Rationale:* 
 * Kafka project already uses gradle 5.x (5.1.1 at the moment)
 * recently released *spotbugs-gradle-plugin* version 1.6.10 drops support for 
Gradle 4: 
[https://github.com/spotbugs/spotbugs-gradle-plugin/blob/1.6.10/CHANGELOG.md#1610---2019-02-18]

 

*Note:* related github pull request that contains spotbugs plugin version bump 
(among other things): 
https://github.com/apache/kafka/pull/6332#issuecomment-467631246


> Uppgrade Jenkins job Gradle version from 4.10.2 to 5.x
> ------------------------------------------------------
>
>                 Key: KAFKA-8009
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8009
>             Project: Kafka
>          Issue Type: Improvement
>          Components: build
>            Reporter: Dejan Stojadinović
>            Assignee: Ismael Juma
>            Priority: Minor
>
> *Rationale:*
>  * Kafka project already uses gradle 5.x (5.1.1 at the moment)
>  * recently released *spotbugs-gradle-plugin* version 1.6.10 drops support 
> for Gradle 4: 
> [https://github.com/spotbugs/spotbugs-gradle-plugin/blob/1.6.10/CHANGELOG.md#1610---2019-02-18]
>   
> *Note:* related github pull request that contains spotbugs plugin version 
> bump (among other things): 
> [https://github.com/apache/kafka/pull/6332#issuecomment-467631246]
> {code}
> 22:42:44 Setting GRADLE_4_10_2_HOME=/home/jenkins/tools/gradle/4.10.2
> 22:42:44 [kafka-pr-jdk11-scala2.12] $ /bin/bash -xe 
> /tmp/jenkins5613406374589745135.sh
> 22:42:44 + rm -rf 
> /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.12/.gradle
> 22:42:44 + /home/jenkins/tools/gradle/4.10.2/bin/gradle
> 22:42:45 To honour the JVM settings for this build a new JVM will be forked. 
> Please consider using the daemon: 
> https://docs.gradle.org/4.10.2/userguide/gradle_daemon.html.
> 22:42:47 Daemon will be stopped at the end of the build stopping after 
> processing
> 22:42:58 
> 22:42:58 FAILURE: Build failed with an exception.
> 22:42:58 
> 22:42:58 * Where:
> 22:42:58 Build file 
> '/home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.12/build.gradle' 
> line: 155
> 22:42:58 
> 22:42:58 * What went wrong:
> 22:42:58 A problem occurred evaluating root project 
> 'kafka-pr-jdk11-scala2.12'.
> 22:42:58 > Failed to apply plugin [id 'com.github.spotbugs']
> 22:42:58    > Gradle version Gradle 4.10.2 is unsupported. Please use Gradle 
> 5.0 or later.
> {code}
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to